aboutsummaryrefslogtreecommitdiff
path: root/manifests/nas/share.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/nas/share.pp')
-rw-r--r--manifests/nas/share.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/nas/share.pp b/manifests/nas/share.pp
index 23d8c6f..984ac6d 100644
--- a/manifests/nas/share.pp
+++ b/manifests/nas/share.pp
@@ -13,6 +13,7 @@ define nodo::nas::share(
$samba_force_user = '',
$samba_force_group = '',
$samba_read_only = '',
+ $samba_writable = '',
$samba_create_mask = '0644',
$samba_directory_mask = '0755',
$manage_folder = true
@@ -46,6 +47,10 @@ define nodo::nas::share(
'' => undef,
default => $samba_read_only,
},
+ writable => $samba_writable ? {
+ '' => undef,
+ default => $samba_writable,
+ },
create_mask => $samba_create_mask ? {
'' => undef,
default => $samba_create_mask,