aboutsummaryrefslogtreecommitdiff
path: root/manifests/role/nas.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-03-24 14:26:29 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-03-24 14:26:29 -0300
commit87c77bc14477c1be7300e0baadf663b28e938c67 (patch)
tree46313c10347fb9fdb7332a6319ea3369c9c48cbe /manifests/role/nas.pp
parentdaa233d44d472d27d764b22da4f0e2a31dab5b3d (diff)
downloadpuppet-nodo-87c77bc14477c1be7300e0baadf663b28e938c67.tar.gz
puppet-nodo-87c77bc14477c1be7300e0baadf663b28e938c67.tar.bz2
Updates samba config
Diffstat (limited to 'manifests/role/nas.pp')
-rw-r--r--manifests/role/nas.pp16
1 files changed, 8 insertions, 8 deletions
diff --git a/manifests/role/nas.pp b/manifests/role/nas.pp
index b1ead7f..6ee99ee 100644
--- a/manifests/role/nas.pp
+++ b/manifests/role/nas.pp
@@ -137,10 +137,14 @@ class nodo::role::nas(
if $samba == true {
# Main class
class { 'samba::server':
- 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'),
+ 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'),
+ preferred_master => 'yes',
+ printing => 'cups',
+ printcap_name => 'cups',
+ guest_account => 'incoming',
}
# We are avoiding multicast
@@ -150,11 +154,7 @@ class nodo::role::nas(
# Remote announce won't work since routers don't forward broadcast traffic
#'remote announce': value => hiera('nodo::samba::remote_announce', '');
'wins support': value => 'yes';
- 'preferred master': value => 'yes';
'domain master': value => 'yes';
- 'printing': value => 'cups';
- 'printcap name': value => 'cups';
- 'guest account': value => 'incoming';
}
# Disable browsing of printer drivers