Fix test to use config-file-path from pillar

This commit is contained in:
George Robinson 2016-06-29 17:39:37 +01:00
parent df3aeb1e4c
commit 32a732a8c6

View file

@ -16,5 +16,5 @@ haproxy.config:
- service: haproxy.service
{% if salt['pillar.get']('haproxy:overwrite', default=True) == False %}
- unless:
- test -e /etc/haproxy/haproxy.cfg
- test -e {{ salt['pillar.get']('haproxy:config_file_path', '/etc/haproxy/haproxy.cfg') }}
{% endif %}