Allow usage of haproxy.service without haproxy.config

This commit is contained in:
Nicolas Delaby 2015-10-02 00:45:56 +02:00
parent a8896cb7bf
commit eb9c0c2b34
2 changed files with 2 additions and 2 deletions

View file

@ -6,3 +6,5 @@ haproxy.config:
- user: root - user: root
- group: root - group: root
- mode: 644 - mode: 644
- watch_in:
- service: haproxy.service

View file

@ -7,8 +7,6 @@ haproxy.service:
- require: - require:
- pkg: haproxy - pkg: haproxy
file: haproxy.service file: haproxy.service
- watch:
- file: haproxy.config
{% else %} {% else %}
service.dead: service.dead:
- name: haproxy - name: haproxy