aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorAdam Jahn <ajjahn@gmail.com>2014-01-10 15:24:36 -0800
committerAdam Jahn <ajjahn@gmail.com>2014-01-10 15:24:36 -0800
commitcdbccc2846ebbf382a9fd409afbb96f36f5782d0 (patch)
tree8850b748c82e4f3e00ff5d75929ea5a171901aa3 /manifests
parent1a41738f8e7860a9993ec12d2e4daa85112d1239 (diff)
parent08c7b8dfbb4297fabfc9a15619ff4461a871eac2 (diff)
downloadpuppet-samba-cdbccc2846ebbf382a9fd409afbb96f36f5782d0.tar.gz
puppet-samba-cdbccc2846ebbf382a9fd409afbb96f36f5782d0.tar.bz2
Merge pull request #18 from cdepner/optional_interfaces
The parameter $bind_interfaces_only is now settable
Diffstat (limited to 'manifests')
-rw-r--r--manifests/server.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index 996149f..2e4c2d9 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
@@ -24,7 +25,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;