OP#669 add config section to execute haproxy_connect_any

This commit is contained in:
2026-09-05 12:52:42 +02:00
parent 04e35b6d1d
commit 5b20bf27ac
2 changed files with 7 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
"pidfile",
"redispatch",
"sess",
"setsebool",
"tcplog",
"userlist"
]

View File

@@ -11,4 +11,10 @@ class confdroid_haproxy::main::config (
if $hy_manage_fail2ban == true {
include confdroid_haproxy::monitoring::fail2ban
}
if $hy_selinux_allow_stats == true {
exec { 'setsebool haproxy_connect_any on':
path => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],
}
}
}