| 
									
										
										
										
											2011-02-02 22:15:54 +01:00
										 |  |  | cdist-explorer(7) | 
					
						
							|  |  |  | ================= | 
					
						
							| 
									
										
										
										
											2011-01-15 01:23:58 +01:00
										 |  |  | Nico Schottelius <nico-cdist--@--schottelius.org> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | NAME | 
					
						
							|  |  |  | ---- | 
					
						
							| 
									
										
										
										
											2011-02-02 22:15:54 +01:00
										 |  |  | cdist-explorer - Explore the target systems | 
					
						
							| 
									
										
										
										
											2011-01-15 01:23:58 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-02-22 23:58:04 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-01-15 01:23:58 +01:00
										 |  |  | DESCRIPTION | 
					
						
							|  |  |  | ----------- | 
					
						
							| 
									
										
										
										
											2011-02-02 22:15:54 +01:00
										 |  |  | Cdist explorer are small shell scripts, which will be executed | 
					
						
							|  |  |  | on the target host. The aim of the explorer is to give hints | 
					
						
							|  |  |  | to types on how to act on the target system. | 
					
						
							| 
									
										
										
										
											2011-02-22 23:58:04 +01:00
										 |  |  | The explorer output the result of its investigation | 
					
						
							|  |  |  | to stdout and should be a one-liner. The output may be empty, | 
					
						
							|  |  |  | though. | 
					
						
							| 
									
										
										
										
											2011-01-15 01:23:58 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-02-22 23:58:04 +01:00
										 |  |  | Cdist knows about general explorers, which are run in an early | 
					
						
							|  |  |  | stage and type specific explorers. Both work exactly the same way, | 
					
						
							|  |  |  | with the difference that the values of the general explorers | 
					
						
							|  |  |  | are stored in a general location and the type specific below | 
					
						
							|  |  |  | the types. | 
					
						
							| 
									
										
										
										
											2011-01-15 01:23:58 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-02-22 23:58:04 +01:00
										 |  |  | Explorers can reuse other explorers on the target system | 
					
						
							|  |  |  | by calling ./<explorer_name> (i.e. explorers are run | 
					
						
							|  |  |  | from their location). | 
					
						
							| 
									
										
										
										
											2011-02-02 22:19:00 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | In case of significant errors, the shell script may exit | 
					
						
							|  |  |  | non-zero and return an error message on stderr, which | 
					
						
							|  |  |  | will cause the cdist run to abort. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-02-03 18:28:10 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-01-15 01:23:58 +01:00
										 |  |  | SEE ALSO | 
					
						
							|  |  |  | -------- | 
					
						
							| 
									
										
										
										
											2011-02-22 23:58:04 +01:00
										 |  |  | cdist(7), cdist-config-layout(7), cdist-stages(7) | 
					
						
							| 
									
										
										
										
											2011-01-15 01:23:58 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | COPYING | 
					
						
							|  |  |  | ------- | 
					
						
							| 
									
										
										
										
											2011-02-02 22:19:00 +01:00
										 |  |  | Copyright \(C) 2010-2011 Nico Schottelius. Free use of this software is | 
					
						
							| 
									
										
										
										
											2011-01-15 01:23:58 +01:00
										 |  |  | granted under the terms of the GNU General Public License version 3 (GPLv3). |