diff --git a/puppet/manifests/controller.pp b/puppet/manifests/controller.pp index fda8cd29accc3cb530c432af3d2dd204d7400b90..823c95186ac94e1bad575f699cf103dbf2eae65a 100644 --- a/puppet/manifests/controller.pp +++ b/puppet/manifests/controller.pp @@ -869,6 +869,7 @@ export OS_CACERT=${$api_endpoint_ca_file} 'check 10s', ], 'stats' => 'enable', + 'monitor-uri' => '/health' }, merge_options => true, before => Anchor[$haproxy_schedule], @@ -885,11 +886,9 @@ export OS_CACERT=${$api_endpoint_ca_file} haproxy::listen { 'haphealthcheck': section_name => 'healthcheck', bind => { "${machine_ip}:8081" => 'user root'}, - mode => 'health', + mode => 'http', options => [ - { 'option' => 'httpchk' }, - { 'option' => 'http-keep-alive' }, - + { 'option' => 'dontlognull' }, ] }