aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jahn <ajjahn@gmail.com>2015-04-11 15:51:50 -0400
committerAdam Jahn <ajjahn@gmail.com>2015-04-11 15:51:50 -0400
commit0b8794e9a6b01d018cf81f7500f07891e66c9220 (patch)
tree44e986156cd04830b15074d9ef697aeb85172c65
parentd15de7df5fa824f7db8f6c9a83db90ac6705355f (diff)
downloadpuppet-samba-0b8794e9a6b01d018cf81f7500f07891e66c9220.tar.gz
puppet-samba-0b8794e9a6b01d018cf81f7500f07891e66c9220.tar.bz2
fix syntax error
-rw-r--r--manifests/server.pp2
-rw-r--r--manifests/server/ads.pp8
2 files changed, 5 insertions, 5 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index 09a1b27..9eace3d 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -18,7 +18,7 @@ class samba::server($interfaces = '',
$incl = '/etc/samba/smb.conf'
$context = '/files/etc/samba/smb.conf'
- $target = 'target[. = 'global']'
+ $target = 'target[. = "global"]'
augeas { 'global-section':
incl => $incl,
diff --git a/manifests/server/ads.pp b/manifests/server/ads.pp
index 0b7e2a7..781a6a9 100644
--- a/manifests/server/ads.pp
+++ b/manifests/server/ads.pp
@@ -82,10 +82,10 @@ class samba::server::ads($ensure = present,
$changes=$nsswitch ? {
true => [
- 'set database[. = 'passwd']/service[1] compat',
- 'set database[. = 'passwd']/service[2] winbind',
- 'set database[. = 'group']/service[1] compat',
- 'set database[. = 'group']/service[2] winbind',
+ 'set database[. = "passwd"]/service[1] compat',
+ 'set database[. = "passwd"]/service[2] winbind',
+ 'set database[. = "group"]/service[1] compat',
+ 'set database[. = "group"]/service[2] winbind',
],
false => [
"rm /files/${nss_file}/database[. = 'passwd']/service[. = 'winbind']",