aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/server.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index 8d6a214..59d5d51 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -19,7 +19,8 @@ class samba::server($interfaces = '',
$pam_password_change = '',
$os_level = '',
$preferred_master = '',
- $bind_interfaces_only = 'yes',) {
+ $bind_interfaces_only = 'yes',
+ $shares = {},) {
include samba::server::install
include samba::server::config
@@ -60,4 +61,6 @@ class samba::server($interfaces = '',
'os level': value => $os_level;
'preferred master': value => $preferred_master;
}
+
+ create_resources(samba::server::share, $shares)
}