Merge pull request 'fix: add use_backend for drw1 haproxy' (#193) from neoloc/haproxy_drw1 into develop

Reviewed-on: unkinben/puppet-prod#193
This commit is contained in:
Ben Vincent 2024-05-01 21:50:30 +09:30
commit 7dc2daf48f

View File

@ -12,18 +12,15 @@ profiles::haproxy::mappings:
- 'puppetboard.main.unkin.net be_puppetboard' - 'puppetboard.main.unkin.net be_puppetboard'
- 'puppetdbapi.main.unkin.net be_puppetdbapi' - 'puppetdbapi.main.unkin.net be_puppetdbapi'
# profiles::haproxy::listeners: profiles::haproxy::frontends:
# ls_puppetdbapi_direct: fe_http:
# collect_exported: false # handled in custom function options:
# ipaddress: "%{facts.networking.ip}" use_backend:
# ports: - "%[req.hdr(host),lower,map(/etc/haproxy/fe_http.map,be_default)]"
# - 8081 fe_https:
# mode: tcp options:
# options: use_backend:
# option: - "%[req.hdr(host),lower,map(/etc/haproxy/fe_https.map,be_default)]"
# - tcplog
# - ssl-hello-chk
# balance: roundrobin
profiles::haproxy::backends: profiles::haproxy::backends:
be_puppetboard: be_puppetboard: