From e1007ae1a60d7ec1838ca2aad149fd4394e04c46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Thu, 20 Oct 2011 15:13:40 +0300 Subject: [PATCH] Added nscd to ldap::auth on CentOS. --- ldap/manifests/init.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) 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":