From f767ff0ae4bc7e135c2ba1e01ab76d51e9b13797 Mon Sep 17 00:00:00 2001 From: Pete Brown Date: Wed, 29 Jun 2016 01:52:42 +1000 Subject: Add option to set profile acls on a share Add specs for profile acls option --- manifests/server/share.pp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'manifests/server') 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", -- cgit v1.2.3