From 0b8794e9a6b01d018cf81f7500f07891e66c9220 Mon Sep 17 00:00:00 2001 From: Adam Jahn Date: Sat, 11 Apr 2015 15:51:50 -0400 Subject: fix syntax error --- manifests/server.pp | 2 +- manifests/server/ads.pp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'manifests') 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']", -- cgit v1.2.3