change template

This commit is contained in:
Arne Teuke
2025-01-27 13:42:33 +01:00
parent f06980bf23
commit bdd14365bf
3 changed files with 10 additions and 9 deletions

View File

@@ -46,8 +46,8 @@ $frontend_mode = undef,
$fe_use_backend = '',
$fe_bind_mode = undef,
$frontend_order = '010',
$acl_rule = '',
$acl_order = '020',
$acl_rule_front = '',
$acl_rule_back = '',
$backend_name = undef,
$backend_order = '030',
$fe_maxconn = undef,
@@ -68,13 +68,6 @@ $hy_acl_rule = 'cd_haproxy/haproxy_acl_rule.erb'
order => $frontend_order,
}
# create acl section
concat::fragment { "acl_${name}":
target => $hy_main_config,
content => template($hy_acl_rule),
order => $acl_order,
}
# create backend section
concat::fragment { "backend_${name}":
target => $hy_main_config,