| 
									
										
										
										
											2011-02-02 11:13:58 +01:00
										 |  |  | cdist-manifests(7) | 
					
						
							|  |  |  | ================== | 
					
						
							|  |  |  | Nico Schottelius <nico-cdist--@--schottelius.org> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | NAME | 
					
						
							|  |  |  | ---- | 
					
						
							|  |  |  | cdist-manifests - Map configuration to hosts | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | DESCRIPTION | 
					
						
							|  |  |  | ----------- | 
					
						
							|  |  |  | Using the available types and shell language, you can create mappings of what | 
					
						
							|  |  |  | should be configured on a host. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-02-02 21:57:04 +01:00
										 |  |  | ENTRYPOINT: $prefix/manifests/init | 
					
						
							| 
									
										
										
										
											2011-02-02 11:13:58 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-02-07 23:34:18 +01:00
										 |  |  | unsorted: cache / objects | 
					
						
							|  |  |  |     | 
					
						
							|  |  |  |    - If cdist encounters type in manifest,  | 
					
						
							|  |  |  |      a wrapper script is run, that creates a | 
					
						
							|  |  |  |      new entry in the cconfig database and adds | 
					
						
							|  |  |  |      attribute values. This defines a cconfig | 
					
						
							|  |  |  |      tree, that may look as follows: | 
					
						
							|  |  |  |       | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       <hostname>/<type>/<id>/<parameters>: | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |       myhost/__file/cdist_bin/source | 
					
						
							|  |  |  |       myhost/__file/cdist_bin/destination | 
					
						
							|  |  |  |       ... | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-02-08 00:08:05 +01:00
										 |  |  | -------------------------------------------------------------------------------- | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-02-02 11:13:58 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | ENVIRONMENT | 
					
						
							|  |  |  | ----------- | 
					
						
							|  |  |  | The following variables are available in manifests: | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | - __{explorer|fact}_{name} | 
					
						
							|  |  |  | - __core_hostname: Hostname that we are deploying to | 
					
						
							|  |  |  | - __core_localhostname: Hostname that we are deploying from | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | EXAPMLES | 
					
						
							|  |  |  | -------- | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | COPYING | 
					
						
							|  |  |  | ------- | 
					
						
							| 
									
										
										
										
											2011-02-02 22:19:00 +01:00
										 |  |  | Copyright \(C) 2010-2011 Nico Schottelius. Free use of this software is | 
					
						
							| 
									
										
										
										
											2011-02-02 11:13:58 +01:00
										 |  |  | granted under the terms of the GNU General Public License version 3 (GPLv3). |