update conf/manifest/init example
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								0847b5b364
							
						
					
				
			
			
				commit
				
					
						e7f64758ce
					
				
			
		
					 2 changed files with 5 additions and 4 deletions
				
			
		| 
						 | 
					@ -7,13 +7,14 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Every machine becomes a marker, so sysadmins know that automatic
 | 
					# Every machine becomes a marker, so sysadmins know that automatic
 | 
				
			||||||
# configurations are happening
 | 
					# configurations are happening
 | 
				
			||||||
__file /etc/cdist-configured --type file
 | 
					__file /etc/cdist-configured
 | 
				
			||||||
 | 
					
 | 
				
			||||||
case "$__target_host" in
 | 
					case "$__target_host" in
 | 
				
			||||||
   # Everybody has this
 | 
					   # Everybody has this
 | 
				
			||||||
   localhost)
 | 
					   localhost)
 | 
				
			||||||
      # Usual example
 | 
					      __link /tmp/cdist-testfile --source /etc/cdist-configured  --type symbolic
 | 
				
			||||||
      __file test --type symlink --source /etc/cdist-configured --destination /tmp/cdist-testfile
 | 
					      __directory /tmp/cdist-test-dir --mode 4777
 | 
				
			||||||
 | 
					      __file /tmp/cdist-test-file --mode 0750 --owner nobody --group root
 | 
				
			||||||
   ;;
 | 
					   ;;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   #
 | 
					   #
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,4 +4,4 @@ x __directory /etc [--mode --owner --group --parents [yes|no] ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
x __link /destination --source abc --type [symbolic|hard]
 | 
					x __link /destination --source abc --type [symbolic|hard]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
__file /etc/passwd [--source] --mode --owner --group
 | 
					x __file /etc/passwd [--source] --mode --owner --group
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue