From 3927da66b64688ad7b25245853d1012c2b8fce80 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 21 Mar 2011 09:44:14 +0100 Subject: [PATCH] update __directory documentation Signed-off-by: Nico Schottelius --- conf/type/__directory/man.text | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/conf/type/__directory/man.text b/conf/type/__directory/man.text index f7272df9..02a41754 100644 --- a/conf/type/__directory/man.text +++ b/conf/type/__directory/man.text @@ -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 --------------------------------------------------------------------------------