aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/share.pp3
1 files changed, 1 insertions, 2 deletions
diff --git a/manifests/share.pp b/manifests/share.pp
index 7690fbc..30ba0b2 100644
--- a/manifests/share.pp
+++ b/manifests/share.pp
@@ -6,11 +6,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}",