Fixed dependency in ldap::auth
This commit is contained in:
parent
0082372e3c
commit
b2a9768b6e
1 changed files with 1 additions and 1 deletions
|
@ -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"],
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue