]> gitweb.fluxo.info Git - puppet-samba.git/commitdiff
fix syntax error
authorAdam Jahn <ajjahn@gmail.com>
Sat, 11 Apr 2015 19:51:50 +0000 (15:51 -0400)
committerAdam Jahn <ajjahn@gmail.com>
Sat, 11 Apr 2015 19:51:50 +0000 (15:51 -0400)
manifests/server.pp
manifests/server/ads.pp

index 09a1b27cdc301b95ef3e9dddfa840f8598072043..9eace3d06b92805dbec89f734979a36a9396d98d 100644 (file)
@@ -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,
index 0b7e2a72bc6d923ef1eda4191a039c7eb243b564..781a6a932121b1993ab3b9d0347a545811cb1d24 100644 (file)
@@ -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']",