diff --git a/ldap/manifests/init.pp b/ldap/manifests/init.pp index c322e49..ab1dc2d 100644 --- a/ldap/manifests/init.pp +++ b/ldap/manifests/init.pp @@ -24,7 +24,7 @@ class ldap::auth inherits ldap::client { exec { "authconfig --enableldap --enableldapauth --enableldapssl --ldapserver='${ldap_uri}' --ldapbasedn='${ldap_basedn}' --update": path => "/bin:/usr/bin:/sbin:/usr/sbin", unless => 'cat /etc/sysconfig/authconfig | egrep "^USELDAPAUTH=yes$|^USELDAP=yes$" | wc -l | egrep "^2$"', - before => [ Augeas["enable-ldap-ssl"], + before => [ Augeas["pam-ldap-conf"], File["/etc/openldap/ldap.conf"], ], require => Package["nss_ldap"], }