change template
This commit is contained in:
@@ -44,7 +44,7 @@ $haproxy_fqdn = undef,
|
|||||||
$frontend_name = undef,
|
$frontend_name = undef,
|
||||||
$frontend_mode = undef,
|
$frontend_mode = undef,
|
||||||
$fe_use_backend = '',
|
$fe_use_backend = '',
|
||||||
$fe_bind_mode = '*:80',
|
$fe_bind_mode = undef,
|
||||||
$frontend_order = '010',
|
$frontend_order = '010',
|
||||||
$acl_rule = '',
|
$acl_rule = '',
|
||||||
$acl_order = '020',
|
$acl_order = '020',
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ bind <%= @fe_bind_mode %>
|
|||||||
<% if @fe_maxconn != '' -%>
|
<% if @fe_maxconn != '' -%>
|
||||||
maxconn <%= @fe_maxconn %>
|
maxconn <%= @fe_maxconn %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
<% if @fe_maxconn == '' -%>
|
||||||
|
<% end -%>
|
||||||
<% if @fe_use_backend != '' -%>
|
<% if @fe_use_backend != '' -%>
|
||||||
use_backend <%= @fe_use_backend %>
|
use_backend <%= @fe_use_backend %>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user