diff options
author | Adam Jahn <ajjahn@gmail.com> | 2012-08-24 11:44:36 -0400 |
---|---|---|
committer | Adam Jahn <ajjahn@gmail.com> | 2012-08-24 11:44:36 -0400 |
commit | 7afd35d5e78ab39ad0f237873991ec6b9cef4c18 (patch) | |
tree | 2bfbbfec047bd9a06a3d21bad2ecdd04d455329b | |
parent | 0ac18d517632fdf59f83e7184b8dd35a99909c30 (diff) | |
download | puppet-samba-7afd35d5e78ab39ad0f237873991ec6b9cef4c18.tar.gz puppet-samba-7afd35d5e78ab39ad0f237873991ec6b9cef4c18.tar.bz2 |
use name instead of share for consistency
-rw-r--r-- | manifests/share.pp | 3 |
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}", |