aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/server.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index 2593a55..b552578 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -17,7 +17,7 @@ class samba::server($workgroup = '',
augeas { 'global-workgroup':
context => $context,
changes => $workgroup ? {
- default => "set ${target}/workgroup $workgroup",
+ default => "set ${target}/workgroup '$workgroup'",
'' => "rm ${target}/workgroup",
},
require => Augeas['global-section'],