diff options
Diffstat (limited to 'manifests/server/ads.pp')
-rw-r--r-- | manifests/server/ads.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/server/ads.pp b/manifests/server/ads.pp index 7b496fe..757d091 100644 --- a/manifests/server/ads.pp +++ b/manifests/server/ads.pp @@ -76,9 +76,9 @@ class samba::server::ads($ensure = present, 'map readonly': value => $map_readonly; } - $nss_file='etc/nsswitch.conf' + $nss_file = 'etc/nsswitch.conf' - $changes=$nsswitch ? { + $changes = $nsswitch ? { true => [ 'set database[. = "passwd"]/service[1] compat', 'set database[. = "passwd"]/service[2] winbind', |