adding template for testing
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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 ###
|
||||||
|
|||||||
Reference in New Issue
Block a user