From d8c319fb569977afcd54f72ddfe3c6aa2b61a9f1 Mon Sep 17 00:00:00 2001 From: Jirgn Mssnr Date: Tue, 9 Feb 2016 17:51:12 +0100 Subject: added share config via hiera --- manifests/server.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'manifests/server.pp') 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) } -- cgit v1.2.3