make haproxy.cfg template more modular - fix stripping - 3rd try
This commit is contained in:
parent
e991e668c8
commit
97970baf84
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ userlist {{ id }}
|
||||||
#------------------
|
#------------------
|
||||||
defaults
|
defaults
|
||||||
log {{ salt['pillar.get']('haproxy:defaults:log', 'global') }}
|
log {{ salt['pillar.get']('haproxy:defaults:log', 'global') }}
|
||||||
{%- if 'mode' in salt['pillar.get']('haproxy:defaults', {}) %}
|
{% if 'mode' in salt['pillar.get']('haproxy:defaults', {}) %}
|
||||||
mode {{ salt['pillar.get']('haproxy:defaults:mode', 'http') }}
|
mode {{ salt['pillar.get']('haproxy:defaults:mode', 'http') }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if 'retries' in salt['pillar.get']('haproxy:defaults', {}) -%}
|
{%- if 'retries' in salt['pillar.get']('haproxy:defaults', {}) -%}
|
||||||
|
|
Loading…
Reference in a new issue