diff options
author | Adam Jahn <ajjahn@gmail.com> | 2012-08-24 14:49:59 -0400 |
---|---|---|
committer | Adam Jahn <ajjahn@gmail.com> | 2012-08-24 14:49:59 -0400 |
commit | fb1899e32711bc1f669608aae1dafb23eb70ca73 (patch) | |
tree | a5ddd7817d1f7eff23a7aadb957d233c57ccc732 | |
parent | 43573ff80748bc28f39c6cf00295b38e63fa9e81 (diff) | |
download | puppet-samba-fb1899e32711bc1f669608aae1dafb23eb70ca73.tar.gz puppet-samba-fb1899e32711bc1f669608aae1dafb23eb70ca73.tar.bz2 |
fix create mask bug
-rw-r--r-- | manifests/server/share.pp | 2 |
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"], |