diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-08-23 18:24:29 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-08-23 18:24:29 -0300 |
commit | f85365c900df7c81533e38ef37f08aedcf432c21 (patch) | |
tree | 2e3e6b3f1331535eefa6765b397d31cc34e18b55 | |
parent | c231b3cc57c277c1bf99eb07955559be4994a837 (diff) | |
download | puppet-nodo-f85365c900df7c81533e38ef37f08aedcf432c21.tar.gz puppet-nodo-f85365c900df7c81533e38ef37f08aedcf432c21.tar.bz2 |
Adding samba_writable parameter on nodo::nas::share
-rw-r--r-- | manifests/nas/share.pp | 5 |
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, |