update __directory documentation

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.4
Nico Schottelius 14 years ago
parent 1a4fd4854c
commit 3927da66b6
  1. 7
      conf/type/__directory/man.text

@ -30,7 +30,7 @@ owner::
User to chown to. User to chown to.
parents:: 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 EXAMPLES
@ -41,7 +41,10 @@ EXAMPLES
__directory /tmp/foobar __directory /tmp/foobar
# Ensure /etc exists correctly # 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…
Cancel
Save