aboutsummaryrefslogtreecommitdiff
path: root/manifests/server
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/server')
-rw-r--r--manifests/server/share.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/server/share.pp b/manifests/server/share.pp
index 89bd8cc..b68013b 100644
--- a/manifests/server/share.pp
+++ b/manifests/server/share.pp
@@ -20,6 +20,7 @@ define samba::server::share($ensure = present,
$veto_oplock_files = '',
$read_only = '',
$public = '',
+ $read_list = '',
$write_list = '',
$writable = '',
$printable = '',
@@ -187,6 +188,10 @@ define samba::server::share($ensure = present,
'' => "rm \"${target}/veto oplock files\"",
default => "set \"${target}/veto oplock files\" '${veto_oplock_files}'",
},
+ $read_list ? {
+ '' => "rm \"${target}/read list\"",
+ default => "set \"${target}/read list\" '${read_list}'",
+ },
$write_list ? {
'' => "rm \"${target}/write list\"",
default => "set \"${target}/write list\" '${write_list}'",