![Vladimir Kuklin](/assets/img/avatar_default.png)
This commit makes haproxy stats service listen only on loopback and management VIP Change-Id: Ifc6d6f3a3031bebeff8d96cf0ed0ae4923ef2b67 Closes-bug: #1465271
13 lines
415 B
Puppet
13 lines
415 B
Puppet
notice('MODULAR: cluster-haproxy.pp')
|
|
|
|
$network_scheme = hiera('network_scheme', {})
|
|
|
|
class { 'cluster::haproxy':
|
|
haproxy_maxconn => '16000',
|
|
haproxy_bufsize => '32768',
|
|
primary_controller => hiera('primary_controller'),
|
|
debug => hiera('debug', false),
|
|
other_networks => direct_networks($network_scheme['endpoints']),
|
|
stats_ipaddresses => [hiera('management_vip'),'127.0.0.1']
|
|
}
|