diff options
author | Juan Antonio Osorio Robles <jaosorior@redhat.com> | 2017-06-26 14:13:36 +0300 |
---|---|---|
committer | Juan Antonio Osorio Robles <jaosorior@redhat.com> | 2017-06-26 14:13:36 +0300 |
commit | b515698767c76826d4081995eefb7fc9b7cf529e (patch) | |
tree | fe8102c04391124ec19a2243f4d04ae75e7b42ee /puppet/services | |
parent | 24a5fd643919bd3197d1ccc7f70273a9a70511e9 (diff) |
Add flag to enable/disable the HAProxy stats interface
This was made configurable in a recent commit [1] So this flag makes it
easier for deployers to use that functionality.
[1] Ic68266eaf39d6803f7c3e299095578bbcfd63b88
Change-Id: Iffff20dcda53bc7237586dd240e581bcb0282844
Diffstat (limited to 'puppet/services')
-rw-r--r-- | puppet/services/haproxy.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/puppet/services/haproxy.yaml b/puppet/services/haproxy.yaml index 619cf131..5bdc3b88 100644 --- a/puppet/services/haproxy.yaml +++ b/puppet/services/haproxy.yaml @@ -38,6 +38,10 @@ parameters: default: /dev/log description: Syslog address where HAproxy will send its log type: string + HAProxyStatsEnabled: + default: true + description: Whether or not to enable the HAProxy stats interface. + type: boolean RedisPassword: description: The password for Redis type: string @@ -95,6 +99,7 @@ outputs: tripleo::haproxy::redis_password: {get_param: RedisPassword} tripleo::haproxy::ca_bundle: {get_param: InternalTLSCAFile} tripleo::haproxy::crl_file: {get_param: InternalTLSCRLPEMFile} + tripleo::haproxy::haproxy_stats: {get_param: HAProxyStatsEnabled} tripleo::profile::base::haproxy::certificates_specs: map_merge: - get_attr: [HAProxyPublicTLS, role_data, certificates_specs] |