add reqadd option

This commit is contained in:
Arne Teuke
2025-02-07 16:18:46 +01:00
parent 3bb1ba9e02
commit 870288c6d5
3 changed files with 9 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ define cd_haproxy::server::proxy (
$default_backend = '',
$be_option = '',
$fe_tcp_request = '',
$fe_req_add = '',
) {
@@ -60,6 +61,7 @@ define cd_haproxy::server::proxy (
$be_option_array = split($be_option, ';')
$fe_tcp_request_array = split($fe_tcp_request, ';')
$fe_option_array = split($fe_option, ';')
$fe_req_add_array = split($fe_req_add, ';')
# create frontend section
concat::fragment { "frontend_${name}":