aboutsummaryrefslogtreecommitdiff
path: root/manifests/role/nas.pp
diff options
context:
space:
mode:
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