Allow usage of haproxy.service without haproxy.config
This commit is contained in:
parent
a8896cb7bf
commit
eb9c0c2b34
2 changed files with 2 additions and 2 deletions
|
@ -6,3 +6,5 @@ haproxy.config:
|
|||
- user: root
|
||||
- group: root
|
||||
- mode: 644
|
||||
- watch_in:
|
||||
- service: haproxy.service
|
||||
|
|
|
@ -7,8 +7,6 @@ haproxy.service:
|
|||
- require:
|
||||
- pkg: haproxy
|
||||
file: haproxy.service
|
||||
- watch:
|
||||
- file: haproxy.config
|
||||
{% else %}
|
||||
service.dead:
|
||||
- name: haproxy
|
||||
|
|
Loading…
Reference in a new issue