aboutsummaryrefslogtreecommitdiff
path: root/manifests/server
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/server')
-rwxr-xr-x[-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 7f8191c..b0690bb 100644..100755
--- a/manifests/server/share.pp
+++ b/manifests/server/share.pp
@@ -29,6 +29,7 @@ define samba::server::share($ensure = present,
$map_acl_inherit = '',
$store_dos_attributes = '',
$strict_allocate = '',
+ $hide_dot_files = '',
) {
$incl = $samba::server::incl
@@ -177,6 +178,11 @@ define samba::server::share($ensure = present,
'' => "rm \"${target}/write list\"",
default => "set \"${target}/write list\" '${write_list}'",
},
+ $hide_dot_files ? {
+ true => "set \"${target}/hide dot files\" yes",
+ false => "set \"${target}/hide dot files\" no",
+ default => "rm \"${target}/hide dot files\"",
+ },
]
augeas { "${name}-changes":