adding template for testing

This commit is contained in:
Arne Teuke
2018-12-29 19:47:00 +01:00
parent 31bc69ad81
commit 66f16e8e09
2 changed files with 3 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ $hy_frontendrule = 'cd_haproxy/haproxy_frontend_rule.erb'
# create frontend section # create frontend section
concat::fragment { "frontend_${name}": concat::fragment { "frontend_${name}":
target => $hy_main_config, target => $hy_main_config,
content => $hy_frontendrule, content => template($hy_frontendrule),
order => $frontend_order, order => $frontend_order,
} }

View File

@@ -45,3 +45,5 @@ defaults
timeout http-keep-alive <%= @hy_timeout_http_keep_alive %> timeout http-keep-alive <%= @hy_timeout_http_keep_alive %>
timeout check <%= @hy_timeout_check %> timeout check <%= @hy_timeout_check %>
maxconn <%= @hy_maxconn %> maxconn <%= @hy_maxconn %>
### custom rules below ###