Merge pull request #27 from ticosax/reverse-dependency
Allow usage of haproxy.service without haproxy.config
This commit is contained in:
commit
03e3c7beae
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