puppet-prod/site/profiles/manifests/ceph/dashboard.pp
Ben Vincent 6f3198150e
All checks were successful
Build / precommit (pull_request) Successful in 4m30s
feat: add ceph-dashboard to haproxy
- add profile to export haproxy backend
- add new cert for dashboard.ceph.unkin.net
- extend balancemember with ipaddress attribute
2025-08-13 22:10:09 +10:00

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',
]
}
}