Support disable overwrite of existing haproxy config file

This commit is contained in:
George Robinson 2016-06-29 10:53:27 +01:00
parent 0a550b89b9
commit df3aeb1e4c

View file

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