Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Fix MetricsQdrUseSSL value
Browse files Browse the repository at this point in the history
puppet-qdr expects one of the string values 'yes'/'no' instead of boolean,
so currently listeners cannot be created with SSL enabled. This patch is fixing
this issue.

Change-Id: I2dbafdc417f31eb000fbb469ae2c082cda3a5523
(cherry picked from commit dfc3322)
  • Loading branch information
paramite committed Nov 10, 2020
1 parent 55eafcb commit 8d18693
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion deployment/metrics/qdr-container-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ parameters:

conditions:
internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]}
listener_ssl_enabled: {equals: [{get_param: MetricsQdrUseSSL}, true]}
enable_stf: {equals: [{get_param: EnableSTF}, true]}


Expand Down Expand Up @@ -201,7 +202,11 @@ outputs:
tripleo::profile::base::metrics::qdr::addresses: {get_param: MetricsQdrAddresses}
tripleo::profile::base::metrics::qdr::autolink_addresses: {get_param: MetricsQdrAutoLinks}
# ssl support
tripleo::profile::base::metrics::qdr::listener_require_ssl: {get_param: MetricsQdrUseSSL}
tripleo::profile::base::metrics::qdr::listener_require_ssl:
if:
- listener_ssl_enabled
- 'yes'
- 'no'
tripleo::profile::base::metrics::qdr::listener_require_encrypt: {get_param: MetricsQdrUseEncryption}
tripleo::profile::base::metrics::qdr::listener_sasl_mech: {get_param: MetricsQdrSaslMechanisms}
tripleo::profile::base::metrics::qdr::listener_ssl_cert_db: {get_param: MetricsQdrSslCertDb}
Expand Down

0 comments on commit 8d18693

Please sign in to comment.