Added nscd to ldap::auth on CentOS.
This commit is contained in:
parent
018f274a68
commit
e1007ae1a6
1 changed files with 10 additions and 0 deletions
|
@ -44,6 +44,7 @@ class ldap::auth inherits ldap::client {
|
||||||
service { "nslcd":
|
service { "nslcd":
|
||||||
ensure => running,
|
ensure => running,
|
||||||
enable => true,
|
enable => true,
|
||||||
|
notify => Service["nscd"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
|
@ -65,9 +66,18 @@ class ldap::auth inherits ldap::client {
|
||||||
onlyif => [ "get nss_paged_results != yes",
|
onlyif => [ "get nss_paged_results != yes",
|
||||||
"get pam_password != exop",
|
"get pam_password != exop",
|
||||||
"get ssl != on", ],
|
"get ssl != on", ],
|
||||||
|
notify => Service["nscd"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
package { "nscd":
|
||||||
|
ensure => installed,
|
||||||
|
}
|
||||||
|
service { "nscd":
|
||||||
|
ensure => running,
|
||||||
|
enable => true,
|
||||||
|
require => Package["nscd"],
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Ubuntu: {
|
Ubuntu: {
|
||||||
package { "ldap-auth-client":
|
package { "ldap-auth-client":
|
||||||
|
|
Loading…
Add table
Reference in a new issue