aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jahn <ajjahn@gmail.com>2012-08-24 13:25:55 -0400
committerAdam Jahn <ajjahn@gmail.com>2012-08-24 13:25:55 -0400
commit834b88cd9f9f0062f8ff9308531f4f543bf54e38 (patch)
tree63ca6c5c25c481c58c4aa3d9ea06c3f5d057f5f4
parent093862a340288468e8d27d1fe0eedc567f468e56 (diff)
downloadpuppet-samba-834b88cd9f9f0062f8ff9308531f4f543bf54e38.tar.gz
puppet-samba-834b88cd9f9f0062f8ff9308531f4f543bf54e38.tar.bz2
share is part of the server family
-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 ? {