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":
|
||||
ensure => running,
|
||||
enable => true,
|
||||
notify => Service["nscd"],
|
||||
}
|
||||
}
|
||||
default: {
|
||||
|
@ -65,9 +66,18 @@ class ldap::auth inherits ldap::client {
|
|||
onlyif => [ "get nss_paged_results != yes",
|
||||
"get pam_password != exop",
|
||||
"get ssl != on", ],
|
||||
notify => Service["nscd"],
|
||||
}
|
||||
}
|
||||
}
|
||||
package { "nscd":
|
||||
ensure => installed,
|
||||
}
|
||||
service { "nscd":
|
||||
ensure => running,
|
||||
enable => true,
|
||||
require => Package["nscd"],
|
||||
}
|
||||
}
|
||||
Ubuntu: {
|
||||
package { "ldap-auth-client":
|
||||
|
|
Loading…
Add table
Reference in a new issue