Code Review
/
apex-puppet-tripleo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
72e8834
)
Enable access to HAProxy stats page
author
Yanis Guenane
<yanis.guenane@enovance.com>
Thu, 9 Apr 2015 08:01:24 +0000
(10:01 +0200)
committer
Yanis Guenane
<yanis.guenane@enovance.com>
Mon, 13 Apr 2015 07:24:44 +0000
(09:24 +0200)
Enable access to the HAProxy stats page. The listen directive is bound
to the controller virtual IP address.
Change-Id: Ie0012da77ffdd9bfa8f06341aca2d70991558a28
manifests/loadbalancer.pp
patch
|
blob
|
history
diff --git
a/manifests/loadbalancer.pp
b/manifests/loadbalancer.pp
index
ccc9d25
..
ed64e6d
100644
(file)
--- 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,
}