aboutsummaryrefslogtreecommitdiff
path: root/manifests/server/ads.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/server/ads.pp')
-rw-r--r--manifests/server/ads.pp14
1 files changed, 7 insertions, 7 deletions
diff --git a/manifests/server/ads.pp b/manifests/server/ads.pp
index 3d44af6..0b7e2a7 100644
--- a/manifests/server/ads.pp
+++ b/manifests/server/ads.pp
@@ -30,7 +30,7 @@ class samba::server::ads($ensure = present,
default => 'krb5-user',
}
- if $osfamily == "RedHat" {
+ if $osfamily == 'RedHat' {
if $operatingsystemrelease =~ /^6\./ {
$winbind_package = 'samba-winbind'
} else {
@@ -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']",
@@ -103,7 +103,7 @@ class samba::server::ads($ensure = present,
path => '/sbin/verify_active_directory',
owner => root,
group => root,
- mode => "0755",
+ mode => '0755',
content => template("${module_name}/verify_active_directory.erb"),
require => [ Package[$krb5_user_package, $winbind_package, 'expect'],
Augeas['samba-realm', 'samba-security', 'samba-winbind enum users',
@@ -116,7 +116,7 @@ class samba::server::ads($ensure = present,
path => '/sbin/configure_active_directory',
owner => root,
group => root,
- mode => "0755",
+ mode => '0755',
content => template("${module_name}/configure_active_directory.erb"),
require => [ Package[$krb5_user_package, $winbind_package, 'expect'],
Augeas['samba-realm', 'samba-security', 'samba-winbind enum users',