diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-06-02 05:52:51 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-06-02 05:52:51 +0000 |
commit | 6f4e3784cd96f58f5180636ecc454127fab975bb (patch) | |
tree | e3591653b5b34c1635ddb27ee02b706517816af8 | |
parent | 312b3d47b5c97718dcb0b05cf242800a0281d0ab (diff) | |
parent | 90704a6017f7c539e3c1fed038ed247763619380 (diff) |
Merge "Add conditional for setting authlogin_nsswitch_use_ldap selboolean"
-rw-r--r-- | manifests/profile/base/keystone.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/profile/base/keystone.pp b/manifests/profile/base/keystone.pp index 72a7bc9..c7eea14 100644 --- a/manifests/profile/base/keystone.pp +++ b/manifests/profile/base/keystone.pp @@ -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, }) |