Skip to content
Snippets Groups Projects
Commit 2d2fb937 authored by Riccardo Bucchi's avatar Riccardo Bucchi Committed by Alessandro Costantini
Browse files

fixed haproxy web interface, adding parameters in role::rhmk

parent 6b585a81
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,12 @@ class iaas::role::rhmk(
# HAPROXY
$haproxy_controller_hosts = $iaas::params::controller_hostnames, #['<hostname1>','<hostnameN>'],
$haproxy_controller_ips = $iaas::params::controller_ips, #['<ip1>','<ipN>'],
$haproxy_stats_enabled = "true",
$haproxy_stats_ports = [1936],
$haproxy_stats_refresh = "30s",
$haproxy_stats_login = "stats",
$haproxy_stats_password = "stats",
$haproxy_stats_uri = "/",
# RABBITMQ
$rabbit_hostname = $hostname,
$rabbit_user = $iaas::params::rabbit_user, #'openstack',
......@@ -75,6 +81,12 @@ class iaas::role::rhmk(
controller_ips => $haproxy_controller_ips,
main_address => $main_address,
admin_address => $admin_address,
stats_enabled => $haproxy_stats_enabled,
stats_ports => $haproxy_stats_ports,
stats_refresh => $haproxy_stats_refresh,
stats_login => $haproxy_stats_login,
stats_password => $haproxy_stats_password,
stats_uri => $haproxy_stats_uri,
}
class { 'iaas::profile::keepalived':
admin_interface => $admin_interface,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment