aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorPete Brown <pete@abstractit.com.au>2016-06-29 01:52:42 +1000
committerAdam Jahn <ajjahn@gmail.com>2016-07-10 14:01:26 -0400
commitf767ff0ae4bc7e135c2ba1e01ab76d51e9b13797 (patch)
tree9b008e3b8a0b5a864b28bc2fef7607e62c3961c0 /manifests
parentee15236a9dc9f7b082076679528a52f07bdf4664 (diff)
downloadpuppet-samba-f767ff0ae4bc7e135c2ba1e01ab76d51e9b13797.tar.gz
puppet-samba-f767ff0ae4bc7e135c2ba1e01ab76d51e9b13797.tar.bz2
Add option to set profile acls on a share
Add specs for profile acls option
Diffstat (limited to 'manifests')
-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 be4ee1e..9a5d030 100644
--- a/manifests/server/share.pp
+++ b/manifests/server/share.pp
@@ -27,6 +27,7 @@ define samba::server::share($ensure = present,
$follow_symlinks = '',
$wide_links = '',
$map_acl_inherit = '',
+ $profile_acls = '',
$store_dos_attributes = '',
$strict_allocate = '',
$hide_dot_files = '',
@@ -149,6 +150,11 @@ define samba::server::share($ensure = present,
false => "set \"${target}/map acl inherit\" no",
default => "rm \"${target}/map acl inherit\"",
},
+ $profile_acls ? {
+ true => "set \"${target}/profile acls\" yes",
+ false => "set \"${target}/profile acls\" no",
+ default => "rm \"${target}/profile acls\"",
+ },
$store_dos_attributes ? {
true => "set \"${target}/store dos attributes\" yes",
false => "set \"${target}/store dos attributes\" no",