aboutsummaryrefslogtreecommitdiff
path: root/manifests/share.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/share.pp')
-rw-r--r--manifests/share.pp3
1 files changed, 1 insertions, 2 deletions
diff --git a/manifests/share.pp b/manifests/share.pp
index 5f05ad6..cebd4fa 100644
--- a/manifests/share.pp
+++ b/manifests/share.pp
@@ -5,11 +5,10 @@ define samba::share($ensure=present,
$guestok="no",
$readonly="no" ) {
- $share = $name
$context = "/files/etc/samba/smb.conf"
$target = "target[. = '${name}']"
- augeas { "${share}":
+ augeas { "${name}":
context => $context,
changes => $ensure ? {
present => [ "set ${target} ${name}",