Merge "Add conditional for setting authlogin_nsswitch_use_ldap selboolean"

This commit is contained in:
Jenkins 2017-06-02 05:52:51 +00:00 committed by Gerrit Code Review
commit 6f4e3784cd

View File

@ -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,
})