aboutsummaryrefslogtreecommitdiff
path: root/manifests/role
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-05-22 13:27:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-05-22 13:27:35 -0300
commit716ca6517b1296b894301700e777020c1699250e (patch)
tree11de0eee4c30da999581a954970997f1f4272396 /manifests/role
parent0f39804053e0ddcd8dfc235d1adc78a810b9d3b3 (diff)
downloadpuppet-nodo-716ca6517b1296b894301700e777020c1699250e.tar.gz
puppet-nodo-716ca6517b1296b894301700e777020c1699250e.tar.bz2
Updates deprecated security = share samba config
Diffstat (limited to 'manifests/role')
-rw-r--r--manifests/role/nas.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/role/nas.pp b/manifests/role/nas.pp
index 697e826..b69d905 100644
--- a/manifests/role/nas.pp
+++ b/manifests/role/nas.pp
@@ -140,7 +140,7 @@ class nodo::role::nas(
workgroup => hiera('nodo::samba::workgroup', 'WORKGROUP'),
server_string => hiera('nodo::samba::server_string', 'Samba Server'),
interfaces => hiera('nodo::samba::interfaces', 'lo eth0'),
- security => hiera('nodo::samba::security', 'share'),
+ security => hiera('nodo::samba::security', 'user'),
preferred_master => 'yes',
printing => 'cups',
printcap_name => 'cups',
@@ -155,6 +155,7 @@ class nodo::role::nas(
#'remote announce': value => hiera('nodo::samba::remote_announce', '');
'wins support': value => 'yes';
'domain master': value => 'yes';
+ 'map to guest': value => 'Bad User';
}
# Disable browsing of printer drivers