update __directory documentation
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								1a4fd4854c
							
						
					
				
			
			
				commit
				
					
						3927da66b6
					
				
			
		
					 1 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -30,7 +30,7 @@ owner::
 | 
			
		|||
   User to chown to.
 | 
			
		||||
 | 
			
		||||
parents::
 | 
			
		||||
   Whether to create parents as well (mkdir -p behaviour)
 | 
			
		||||
   Whether to create parents as well (mkdir -p behaviour). Must be yes or no.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
EXAMPLES
 | 
			
		||||
| 
						 | 
				
			
			@ -41,7 +41,10 @@ EXAMPLES
 | 
			
		|||
__directory /tmp/foobar
 | 
			
		||||
 | 
			
		||||
# Ensure /etc exists correctly
 | 
			
		||||
__file /etc --owner root --group root --mode 0755
 | 
			
		||||
__directory /etc --owner root --group root --mode 0755
 | 
			
		||||
 | 
			
		||||
# Create nfs service directory, including parents
 | 
			
		||||
__directory /home/services/nfs --parents yes
 | 
			
		||||
--------------------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue