forked from ungleich-public/cdist
		
	merge master
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
		
				commit
				
					
						db66d3731d
					
				
			
		
					 18 changed files with 295 additions and 56 deletions
				
			
		| 
						 | 
				
			
			@ -5,7 +5,8 @@ Feel free to pick one!
 | 
			
		|||
 | 
			
		||||
CORE
 | 
			
		||||
----
 | 
			
		||||
Only build manpages if necessary for types as well as for the core!
 | 
			
		||||
- Only build manpages if necessary for types as well as for the core!
 | 
			
		||||
- support $__self = relative_type/object_id
 | 
			
		||||
 | 
			
		||||
TYPES
 | 
			
		||||
------
 | 
			
		||||
| 
						 | 
				
			
			@ -17,3 +18,4 @@ Types to be written/extended:
 | 
			
		|||
         -> aka sed.
 | 
			
		||||
   - __cron
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,23 +1,9 @@
 | 
			
		|||
Core:
 | 
			
		||||
   - support $__self = relative_type/object_id
 | 
			
		||||
   - cache
 | 
			
		||||
 | 
			
		||||
Cache:
 | 
			
		||||
   Assume you want to configure stuff one host ("monitor node"),
 | 
			
		||||
   depending on the configuration of other hosts ("cluster nodes").
 | 
			
		||||
   - add example how to use 
 | 
			
		||||
   - export variable $__cache
 | 
			
		||||
      -> for current host
 | 
			
		||||
      -> add function to cdist-config, import from cdist-cache
 | 
			
		||||
 | 
			
		||||
   For instance, the monitor host would like to know,
 | 
			
		||||
   which hosts are configured with the provider
 | 
			
		||||
   "apache" and option --start true.
 | 
			
		||||
 | 
			
		||||
   This requires the monitor node to be able to
 | 
			
		||||
   query all other configured nodes. It can't
 | 
			
		||||
   ask for all hosts, because cdist does not
 | 
			
		||||
   know which hosts are configured or may exist.
 | 
			
		||||
 | 
			
		||||
   Example implementation
 | 
			
		||||
 | 
			
		||||
   If cdist keeps ("caches") the configuration of every
 | 
			
		||||
   node it configures, each new node can query the
 | 
			
		||||
   cache for existing nodes that acquired the given
 | 
			
		||||
   configuration.
 | 
			
		||||
remove --preseed from package_apt and add debconf_set_selection or similar
 | 
			
		||||
   -> much cleaner!
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue