diff --git a/ldap/manifests/init.pp b/ldap/manifests/init.pp index 6b061a0..afacf76 100644 --- a/ldap/manifests/init.pp +++ b/ldap/manifests/init.pp @@ -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":