diff options
-rw-r--r-- | manifests/server.pp | 2 | ||||
-rw-r--r-- | manifests/server/ads.pp | 8 |
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']", |