aboutsummaryrefslogtreecommitdiff
path: root/manifests/server/share.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/server/share.pp')
-rwxr-xr-xmanifests/server/share.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/server/share.pp b/manifests/server/share.pp
index b0690bb..d93cc0b 100755
--- a/manifests/server/share.pp
+++ b/manifests/server/share.pp
@@ -30,6 +30,7 @@ define samba::server::share($ensure = present,
$store_dos_attributes = '',
$strict_allocate = '',
$hide_dot_files = '',
+ $root_preexec = '',
) {
$incl = $samba::server::incl
@@ -183,6 +184,10 @@ define samba::server::share($ensure = present,
false => "set \"${target}/hide dot files\" no",
default => "rm \"${target}/hide dot files\"",
},
+ $root_preexec ? {
+ '' => "rm \"${target}/root preexec\"",
+ default => "set \"${target}/root preexec\" '${root_preexec}'",
+ },
]
augeas { "${name}-changes":