update man for 2.1
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								e82c11cce4
							
						
					
				
			
			
				commit
				
					
						bc203df95f
					
				
			
		
					 1 changed files with 10 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -33,8 +33,8 @@ owner::
 | 
			
		|||
   User to chown to.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
OPTIONAL BOOLEAN PARAMETERS
 | 
			
		||||
---------------------------
 | 
			
		||||
BOOLEAN PARAMETERS
 | 
			
		||||
------------------
 | 
			
		||||
parents::
 | 
			
		||||
   Whether to create parents as well (mkdir -p behaviour)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -42,6 +42,7 @@ recursive::
 | 
			
		|||
   If supplied the chgrp and chown call will run recursively.
 | 
			
		||||
   This does *not* influence the behaviour of chmod.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
EXAMPLES
 | 
			
		||||
--------
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -56,13 +57,18 @@ __directory /tmp/foobar --state absent
 | 
			
		|||
__directory /etc --owner root --group root --mode 0755
 | 
			
		||||
 | 
			
		||||
# Create nfs service directory, including parents
 | 
			
		||||
__directory /home/services/nfs --parents yes
 | 
			
		||||
__directory /home/services/nfs --parents
 | 
			
		||||
 | 
			
		||||
# Change permissions recursively
 | 
			
		||||
__directory /home/services --recursive yes --owner root --group root
 | 
			
		||||
__directory /home/services --recursive --owner root --group root
 | 
			
		||||
 | 
			
		||||
# Setup a temp directory
 | 
			
		||||
__directory /local --mode 1777
 | 
			
		||||
 | 
			
		||||
# Take it all
 | 
			
		||||
__directory /home/services/kvm --recursive --parents \
 | 
			
		||||
    --owner root --group root --mode 0755 --state present
 | 
			
		||||
 | 
			
		||||
--------------------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue