aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Brown <pete@abstractit.com.au>2016-06-29 01:49:00 +1000
committerAdam Jahn <ajjahn@gmail.com>2016-07-10 14:07:04 -0400
commit8112ca0c42426b442984448ad2f3e9dae03089cd (patch)
tree6505349a906a974cd6211f5b2111606d99255349
parentf767ff0ae4bc7e135c2ba1e01ab76d51e9b13797 (diff)
downloadpuppet-samba-8112ca0c42426b442984448ad2f3e9dae03089cd.tar.gz
puppet-samba-8112ca0c42426b442984448ad2f3e9dae03089cd.tar.bz2
Add option to add acl group control to a share
-rw-r--r--manifests/server/share.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/server/share.pp b/manifests/server/share.pp
index 9a5d030..89bd8cc 100644
--- a/manifests/server/share.pp
+++ b/manifests/server/share.pp
@@ -26,6 +26,7 @@ define samba::server::share($ensure = present,
$valid_users = '',
$follow_symlinks = '',
$wide_links = '',
+ $acl_group_control = '',
$map_acl_inherit = '',
$profile_acls = '',
$store_dos_attributes = '',
@@ -145,6 +146,11 @@ define samba::server::share($ensure = present,
false => "set \"${target}/wide links\" no",
default => "rm \"${target}/wide links\"",
},
+ $acl_group_control ? {
+ true => "set \"${target}/acl group control\" yes",
+ false => "set \"${target}/acl group control\" no",
+ default => "rm \"${target}/acl group control\"",
+ },
$map_acl_inherit ? {
true => "set \"${target}/map acl inherit\" yes",
false => "set \"${target}/map acl inherit\" no",