formula-haproxy/haproxy/init.sls

16 lines
311 B
Plaintext
Raw Normal View History

2013-06-13 01:31:12 -04:00
haproxy:
2014-12-13 02:19:59 -05:00
pkg.installed: []
file.managed:
2013-06-13 01:31:12 -04:00
- name: /etc/haproxy/haproxy.cfg
- source: salt://haproxy/files/haproxy.cfg
- user: root
- group: root
- mode: 644
- template: jinja
2014-12-13 02:19:59 -05:00
service.running:
2013-06-13 01:31:12 -04:00
- enable: True
- require:
- pkg: haproxy
- watch:
- file: haproxy