- add profile to export haproxy backend - add new cert for dashboard.ceph.unkin.net - extend balancemember with ipaddress attribute Reviewed-on: #382
21 lines
483 B
Puppet
21 lines
483 B
Puppet
class profiles::ceph::dashboard (
|
|
Stdlib::IP::Address $ipaddress = $facts['networking']['ip'],
|
|
){
|
|
|
|
# export haproxy balancemember
|
|
profiles::haproxy::balancemember { "${facts['networking']['fqdn']}_9443":
|
|
service => 'be_ceph_dashboard',
|
|
ipaddress => $ipaddress,
|
|
ports => [9443],
|
|
options => [
|
|
"cookie ${facts['networking']['hostname']}",
|
|
'ssl',
|
|
'verify none',
|
|
'check',
|
|
'inter 2s',
|
|
'rise 3',
|
|
'fall 2',
|
|
]
|
|
}
|
|
}
|