diff options
author | Adam Jahn <ajjahn@gmail.com> | 2012-08-24 15:42:05 -0400 |
---|---|---|
committer | Adam Jahn <ajjahn@gmail.com> | 2012-08-24 15:42:05 -0400 |
commit | d2f9d18c8eebd08f99872c14e0633a04a0b4cd36 (patch) | |
tree | 62d157b904856a7b5ff06d86cded34b71dcbfa6a | |
parent | 2287962321ecf52c0b0cc42cc145c1dff0e5bdb1 (diff) | |
download | puppet-samba-d2f9d18c8eebd08f99872c14e0633a04a0b4cd36.tar.gz puppet-samba-d2f9d18c8eebd08f99872c14e0633a04a0b4cd36.tar.bz2 |
should quote user input
-rw-r--r-- | manifests/server.pp | 2 |
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'], |