aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-08-23 18:33:09 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-08-23 18:33:09 -0300
commit884e03d61c8a557b29411377908e5006140b8351 (patch)
treeb7ed9dec2608813bc9986600c3613a9dab1eb701 /manifests
parentf85365c900df7c81533e38ef37f08aedcf432c21 (diff)
downloadpuppet-nodo-884e03d61c8a557b29411377908e5006140b8351.tar.gz
puppet-nodo-884e03d61c8a557b29411377908e5006140b8351.tar.bz2
Adding samba_guest_account into nodo::nas::share
Diffstat (limited to 'manifests')
-rw-r--r--manifests/nas/share.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/nas/share.pp b/manifests/nas/share.pp
index 984ac6d..9135461 100644
--- a/manifests/nas/share.pp
+++ b/manifests/nas/share.pp
@@ -10,6 +10,7 @@ define nodo::nas::share(
$nfs_export_options = 'ro,sync,no_subtree_check',
$samba_guest_only = true,
$samba_guest_ok = true,
+ $samba_guest_account = '',
$samba_force_user = '',
$samba_force_group = '',
$samba_read_only = '',
@@ -35,6 +36,7 @@ define nodo::nas::share(
path => $folder,
guest_only => $samba_guest_only,
guest_ok => $samba_guest_ok,
+ guest_account => $samba_guest_account,
force_user => $samba_force_user ? {
'' => undef,
default => $samba_force_user,