aboutsummaryrefslogtreecommitdiff
path: root/manifests/server.pp
diff options
context:
space:
mode:
authorChristian Depner <cdepner@idg.de>2013-11-11 09:24:01 +0100
committerChristian Depner <cdepner@idg.de>2013-11-11 09:24:01 +0100
commit08c7b8dfbb4297fabfc9a15619ff4461a871eac2 (patch)
tree7feda3866c66913913773e4df4b29fad288f5879 /manifests/server.pp
parent63d27babd8e779fce6248afb94e9f49ff7d74ef2 (diff)
downloadpuppet-samba-08c7b8dfbb4297fabfc9a15619ff4461a871eac2.tar.gz
puppet-samba-08c7b8dfbb4297fabfc9a15619ff4461a871eac2.tar.bz2
The parameter is now settable
Diffstat (limited to 'manifests/server.pp')
-rw-r--r--manifests/server.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index bc1e3d7..9e5ee2e 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -2,7 +2,8 @@ class samba::server($interfaces = '',
$security = '',
$server_string = '',
$unix_password_sync = '',
- $workgroup = '') {
+ $workgroup = '',
+ $bind_interfaces_only = 'yes',) {
include samba::server::install
include samba::server::config
@@ -21,7 +22,7 @@ class samba::server($interfaces = '',
set_samba_option {
'interfaces': value => $interfaces;
- 'bind interfaces only': value => 'yes';
+ 'bind interfaces only': value => $bind_interfaces_only;
'security': value => $security;
'server string': value => $server_string;
'unix password sync': value => $unix_password_sync;