aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorPete Brown <pete@abstractit.com.au>2016-07-06 03:36:29 +1000
committerPete Brown <pete@abstractit.com.au>2016-07-06 03:36:29 +1000
commit2229e9dcaf7ab7e82a77a7421deb8879e1204de6 (patch)
tree4a90793324c346713cbb9a8917018c0592408137 /manifests
parent00c1f835a7bb60a104cea3c8c70b43646de2bd91 (diff)
downloadpuppet-samba-2229e9dcaf7ab7e82a77a7421deb8879e1204de6.tar.gz
puppet-samba-2229e9dcaf7ab7e82a77a7421deb8879e1204de6.tar.bz2
Adding tests for more share settings
Diffstat (limited to 'manifests')
-rwxr-xr-xmanifests/server/share.pp12
1 files changed, 6 insertions, 6 deletions
diff --git a/manifests/server/share.pp b/manifests/server/share.pp
index d93cc0b..be4ee1e 100755
--- a/manifests/server/share.pp
+++ b/manifests/server/share.pp
@@ -160,23 +160,23 @@ define samba::server::share($ensure = present,
default => "rm \"${target}/strict allocate\"",
},
$valid_users ? {
- '' => "rm \"${target}/valid users\"",
+ '' => "rm \"${target}/valid users\"",
default => "set \"${target}/valid users\" '${valid_users}'",
},
$op_locks ? {
- '' => "rm \"${target}/oplocks\"",
+ '' => "rm \"${target}/oplocks\"",
default => "set \"${target}/oplocks\" '${op_locks}'",
},
$level2_oplocks ? {
- '' => "rm \"${target}/level2 oplocks\"",
+ '' => "rm \"${target}/level2 oplocks\"",
default => "set \"${target}/level2 oplocks\" '${level2_oplocks}'",
},
$veto_oplock_files ? {
- '' => "rm \"${target}/veto oplock files\"",
+ '' => "rm \"${target}/veto oplock files\"",
default => "set \"${target}/veto oplock files\" '${veto_oplock_files}'",
},
$write_list ? {
- '' => "rm \"${target}/write list\"",
+ '' => "rm \"${target}/write list\"",
default => "set \"${target}/write list\" '${write_list}'",
},
$hide_dot_files ? {
@@ -185,7 +185,7 @@ define samba::server::share($ensure = present,
default => "rm \"${target}/hide dot files\"",
},
$root_preexec ? {
- '' => "rm \"${target}/root preexec\"",
+ '' => "rm \"${target}/root preexec\"",
default => "set \"${target}/root preexec\" '${root_preexec}'",
},
]