diff options
-rw-r--r-- | manifests/server/share.pp (renamed from manifests/share.pp) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/share.pp b/manifests/server/share.pp index 9b708a8..51341e3 100644 --- a/manifests/share.pp +++ b/manifests/server/share.pp @@ -1,10 +1,10 @@ -define samba::share($ensure = present, +define samba::server::share($ensure = present, $description = '', $path = '', $browsable = '', $guest_ok = '', $read_only = '') { - + $context = "/files/etc/samba/smb.conf" $target = "target[. = '${name}']" @@ -53,7 +53,7 @@ define samba::share($ensure = present, }, require => Augeas["${name}-section"], } - + augeas { "${name}-read_only": context => $context, changes => $read_only ? { |