From: Yanis Guenane Date: Thu, 9 Apr 2015 08:01:24 +0000 (+0200) Subject: Enable access to HAProxy stats page X-Git-Tag: opnfv-6.0.0~871^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=dfcb703bce19c8cc9113c294295de977c51c8e7c;p=apex-puppet-tripleo.git Enable access to HAProxy stats page Enable access to the HAProxy stats page. The listen directive is bound to the controller virtual IP address. Change-Id: Ie0012da77ffdd9bfa8f06341aca2d70991558a28 --- diff --git a/manifests/loadbalancer.pp b/manifests/loadbalancer.pp index ccc9d25..ed64e6d 100644 --- a/manifests/loadbalancer.pp +++ b/manifests/loadbalancer.pp @@ -242,11 +242,11 @@ class tripleo::loadbalancer ( } haproxy::listen { 'haproxy.stats': - ipaddress => '*', + ipaddress => $controller_virtual_ip, ports => '1993', mode => 'http', options => { - 'stats' => 'enable', + 'stats' => ['enable', 'uri /'], }, collect_exported => false, }