aboutsummaryrefslogtreecommitdiff
path: root/manifests/server/share.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/server/share.pp')
-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"],