feat: add frontends, backends, listeners
- add a way to define frontends, backends and listeners through hieradata
This commit is contained in:
@@ -1,8 +1,24 @@
|
||||
---
|
||||
# mappings
|
||||
profiles::haproxy::mappings::list:
|
||||
- 'puppetboard.main.unkin.net be_puppetboard'
|
||||
- 'puppetdbapi.main.unkin.net be_puppetdbapi'
|
||||
profiles::haproxy::mappings:
|
||||
fe_https:
|
||||
ensure: present
|
||||
mappings:
|
||||
- 'puppetboard.main.unkin.net be_puppetboard'
|
||||
- 'puppetdbapi.main.unkin.net be_puppetdbapi'
|
||||
|
||||
# profiles::haproxy::listeners:
|
||||
# ls_puppetdbapi_direct:
|
||||
# collect_exported: false # handled in custom function
|
||||
# ipaddress: "%{facts.networking.ip}"
|
||||
# ports:
|
||||
# - 8081
|
||||
# mode: tcp
|
||||
# options:
|
||||
# option:
|
||||
# - tcplog
|
||||
# - ssl-hello-chk
|
||||
# balance: roundrobin
|
||||
|
||||
profiles::haproxy::backends:
|
||||
be_puppetboard:
|
||||
|
||||
Reference in New Issue
Block a user