aboutsummaryrefslogtreecommitdiff
path: root/manifests/share.pp
diff options
context:
space:
mode:
authorMarc <mmontgomery@pcch.org>2012-08-24 12:32:06 -0400
committerMarc <mmontgomery@pcch.org>2012-08-24 12:32:06 -0400
commitf7ea7901aa2b203b08dc8f33ac0a1622b2a9c795 (patch)
tree6f209a37188f0923e75fefec9bd161a6fbb20b92 /manifests/share.pp
parent1d947e24a1d2fdf060df76a3925a079fde4c0901 (diff)
parent7c10f82e1bf5e0d79283efdcffe154f3411486ee (diff)
downloadpuppet-samba-f7ea7901aa2b203b08dc8f33ac0a1622b2a9c795.tar.gz
puppet-samba-f7ea7901aa2b203b08dc8f33ac0a1622b2a9c795.tar.bz2
Merge branch 'master' of https://github.com/ajjahn/puppet-samba
Conflicts: manifests/server.pp
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}",