- add au-syd1 halb cluster - add http-response to frontends - manage haproxy after enc_role is correct
22 lines
569 B
Puppet
22 lines
569 B
Puppet
# profiles::proxmox::weblb
|
|
class profiles::proxmox::weblb {
|
|
|
|
# include params class
|
|
include profiles::proxmox::params
|
|
|
|
# export haproxy balancemember
|
|
profiles::haproxy::balancemember { "${facts['networking']['fqdn']}_${profiles::proxmox::params::pve_webport}}":
|
|
service => "be_${facts['country']}${facts['region']}pve",
|
|
ports => [$profiles::proxmox::params::pve_webport],
|
|
options => [
|
|
"cookie ${facts['networking']['hostname']}",
|
|
'ssl',
|
|
'verify none',
|
|
'check',
|
|
'inter 2s',
|
|
'rise 3',
|
|
'fall 2',
|
|
]
|
|
}
|
|
}
|