aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jahn <ajjahn@gmail.com>2012-08-24 11:44:36 -0400
committerAdam Jahn <ajjahn@gmail.com>2012-08-24 11:44:36 -0400
commit7afd35d5e78ab39ad0f237873991ec6b9cef4c18 (patch)
tree2bfbbfec047bd9a06a3d21bad2ecdd04d455329b
parent0ac18d517632fdf59f83e7184b8dd35a99909c30 (diff)
downloadpuppet-samba-7afd35d5e78ab39ad0f237873991ec6b9cef4c18.tar.gz
puppet-samba-7afd35d5e78ab39ad0f237873991ec6b9cef4c18.tar.bz2
use name instead of share for consistency
-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}",