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
- group: root
- mode: 644
- watch_in:
- service: haproxy.service

View file

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