Browse Source

Additional condition for ldap_proxy section for multidomains

Additional condition was added to correct execute ldap_proxy
section in multidomain defined type.

Change-Id: I75a25e646c62456e93ad3b5394e95122cad2f137
Related-Bug:#1598128
Maksym Yatsenko 2 years ago
parent
commit
64090675d2

+ 1
- 1
deployment_scripts/puppet/modules/plugin_ldap/manifests/multiple_domain.pp View File

@@ -19,7 +19,7 @@ define plugin_ldap::multiple_domain (
19 19
   $ldap_proxy_multidomain = $domain_params_hash['ldap_proxy']
20 20
   $ca_chain               = $domain_params_hash['ca_chain']
21 21
 
22
-  if $ldap_proxy_multidomain =~ /^[Tt]rue$/ {
22
+  if $ldap_proxy and $ldap_proxy_multidomain =~ /^[Tt]rue$/ {
23 23
     $url = "ldap://${management_vip}"
24 24
 
25 25
     if $domain in $slapd_config_template {

Loading…
Cancel
Save