Added nscd to ldap::auth on CentOS.

This commit is contained in:
Timo Mkinen 2011-10-20 15:13:40 +03:00
parent 018f274a68
commit e1007ae1a6

View file

@ -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":