aboutsummaryrefslogtreecommitdiff
path: root/manifests/server
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/server')
-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']