From dfcb703bce19c8cc9113c294295de977c51c8e7c Mon Sep 17 00:00:00 2001 From: Yanis Guenane Date: Thu, 9 Apr 2015 10:01:24 +0200 Subject: 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 --- manifests/loadbalancer.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, } -- cgit 1.2.3-korg