aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-02 05:52:51 +0000
committerGerrit Code Review <review@openstack.org>2017-06-02 05:52:51 +0000
commit6f4e3784cd96f58f5180636ecc454127fab975bb (patch)
treee3591653b5b34c1635ddb27ee02b706517816af8
parent312b3d47b5c97718dcb0b05cf242800a0281d0ab (diff)
parent90704a6017f7c539e3c1fed038ed247763619380 (diff)
Merge "Add conditional for setting authlogin_nsswitch_use_ldap selboolean"
-rw-r--r--manifests/profile/base/keystone.pp6
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,
})