aboutsummaryrefslogtreecommitdiff
path: root/manifests/server/share.pp
diff options
context:
space:
mode:
authorjonoterc <jon_obuchowski@terc.edu>2013-11-01 03:05:15 -0400
committerAdam Jahn <ajjahn@gmail.com>2014-01-10 18:15:58 -0500
commit4a7cf3fc220c3a3501b5d9df65011065828df98f (patch)
treef8c2d0fafc90470fc9f7d3038c67b88abc574679 /manifests/server/share.pp
parent04d58f4e21e3f877b279f4a615c6059b13d277ce (diff)
downloadpuppet-samba-4a7cf3fc220c3a3501b5d9df65011065828df98f.tar.gz
puppet-samba-4a7cf3fc220c3a3501b5d9df65011065828df98f.tar.bz2
correcting syntax used to apply "valid users" share configuration
Diffstat (limited to 'manifests/server/share.pp')
-rw-r--r--manifests/server/share.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/server/share.pp b/manifests/server/share.pp
index 4925247..2c73f7b 100644
--- a/manifests/server/share.pp
+++ b/manifests/server/share.pp
@@ -126,8 +126,8 @@ define samba::server::share($ensure = present,
augeas { "${name}-valid_users":
context => $context,
changes => $valid_users ? {
- default => "set ${target}/valid users '${valid_users}'",
- '' => "rm ${target}/valid users",
+ default => "set \"${target}/valid users\" '${valid_users}'",
+ '' => "rm \"${target}/valid users\"",
},
require => Augeas["${name}-section"],
notify => Class['samba::server::service']