From: Pete Brown Date: Tue, 28 Jun 2016 15:49:00 +0000 (+1000) Subject: Add option to add acl group control to a share X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=8112ca0c42426b442984448ad2f3e9dae03089cd;p=puppet-samba.git Add option to add acl group control to a share --- 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",