OP#672 add service target for haproxy

This commit is contained in:
2026-09-07 15:44:39 +02:00
parent ad2428456a
commit 541e3672b7
4 changed files with 38 additions and 0 deletions

View File

@@ -55,6 +55,9 @@
# @param [Boolean] hy_manage_be_users whether to manage backend users
# @param [Boolean] hy_selinux_allow_stats whether to allow stats in selinux
# @param [String] hy_stats_port the port to use for stats. used in firewall settings
# @param [Boolean] hy_manage_nagios whether to manage nagios service checks
# @param [String] hy_target_service the path to the nagios service check file
# @param [Array] hy_target_contacts the contacts to use for nagios service checks
###############################################################################
class confdroid_haproxy::params (
@@ -115,6 +118,12 @@ class confdroid_haproxy::params (
Boolean $hy_manage_be_users = false,
String $hy_be_userlist = '####',
# nagios
Boolean $hy_manage_nagios = false,
String $hy_target_service = '/etc/nagios/conf.d/haproxy_service.cfg',
Array $hy_target_contacts = ['nagiosadmin'],
String $hy_procs_allowed = '1:1'
) {
$fqdn = $facts['networking']['fqdn']