aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorJirgn Mssnr <jirgn76@googlemail.com>2016-02-22 13:47:19 +0100
committerJirgn Mssnr <jirgn76@googlemail.com>2016-02-22 13:47:19 +0100
commit0385193ee30c830e81be53b1d7484ae27cdd2b85 (patch)
tree5b197ac02b82e0ae49041944d2efdd750cdb246e /manifests
parent6c90437c34e749d42b0041097bd12747d63aad4c (diff)
downloadpuppet-samba-0385193ee30c830e81be53b1d7484ae27cdd2b85.tar.gz
puppet-samba-0385193ee30c830e81be53b1d7484ae27cdd2b85.tar.bz2
added param users for use in hiera
added tests for samba::server::users
Diffstat (limited to 'manifests')
-rw-r--r--manifests/server.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index 59d5d51..cbc61a9 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -20,7 +20,8 @@ class samba::server($interfaces = '',
$os_level = '',
$preferred_master = '',
$bind_interfaces_only = 'yes',
- $shares = {},) {
+ $shares = {},
+ $users = {}, ) {
include samba::server::install
include samba::server::config
@@ -63,4 +64,5 @@ class samba::server($interfaces = '',
}
create_resources(samba::server::share, $shares)
+ create_resources(samba::server::user, $users)
}