aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYanis Guenane <yanis.guenane@enovance.com>2015-04-09 10:01:24 +0200
committerYanis Guenane <yanis.guenane@enovance.com>2015-04-13 09:24:44 +0200
commitdfcb703bce19c8cc9113c294295de977c51c8e7c (patch)
tree299517d22c7ac2de358a878cb4cef64921eb739c
parent72e8834efa188ecef879e5ae3141428b6a88f0a5 (diff)
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
-rw-r--r--manifests/loadbalancer.pp4
1 files 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,
}