Merge "Add conditional for setting authlogin_nsswitch_use_ldap selboolean"
This commit is contained in:
commit
6f4e3784cd
@ -222,6 +222,12 @@ class tripleo::profile::base::keystone (
|
||||
|
||||
if $ldap_backend_enable {
|
||||
validate_hash($ldap_backends_config)
|
||||
if !str2bool($::selinux) {
|
||||
selboolean { 'authlogin_nsswitch_use_ldap':
|
||||
value => on,
|
||||
persistent => true,
|
||||
}
|
||||
}
|
||||
create_resources('::keystone::ldap_backend', $ldap_backends_config, {
|
||||
create_domain_entry => $manage_domain,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user