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
|
- user: root
|
||||||
- group: root
|
- group: root
|
||||||
- mode: 644
|
- mode: 644
|
||||||
|
- watch_in:
|
||||||
|
- service: haproxy.service
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue