aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jahn <ajjahn@gmail.com>2012-08-24 14:49:59 -0400
committerAdam Jahn <ajjahn@gmail.com>2012-08-24 14:49:59 -0400
commitfb1899e32711bc1f669608aae1dafb23eb70ca73 (patch)
treea5ddd7817d1f7eff23a7aadb957d233c57ccc732
parent43573ff80748bc28f39c6cf00295b38e63fa9e81 (diff)
downloadpuppet-samba-fb1899e32711bc1f669608aae1dafb23eb70ca73.tar.gz
puppet-samba-fb1899e32711bc1f669608aae1dafb23eb70ca73.tar.bz2
fix create mask bug
-rw-r--r--manifests/server/share.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/server/share.pp b/manifests/server/share.pp
index 48a4723..99ecb13 100644
--- a/manifests/server/share.pp
+++ b/manifests/server/share.pp
@@ -66,7 +66,7 @@ define samba::server::share($ensure = present,
augeas { "${name}-create_mask":
context => $context,
changes => $create_mask ? {
- default => "set \"${target}/create mask\" yes",
+ default => "set \"${target}/create mask\" '${create_mask}'",
'' => "rm \"${target}/create mask\"",
},
require => Augeas["${name}-section"],