Fix test to use config-file-path from pillar
This commit is contained in:
parent
df3aeb1e4c
commit
32a732a8c6
1 changed files with 1 additions and 1 deletions
|
@ -16,5 +16,5 @@ haproxy.config:
|
||||||
- service: haproxy.service
|
- service: haproxy.service
|
||||||
{% if salt['pillar.get']('haproxy:overwrite', default=True) == False %}
|
{% if salt['pillar.get']('haproxy:overwrite', default=True) == False %}
|
||||||
- unless:
|
- unless:
|
||||||
- test -e /etc/haproxy/haproxy.cfg
|
- test -e {{ salt['pillar.get']('haproxy:config_file_path', '/etc/haproxy/haproxy.cfg') }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue