19 lines
326 B
Text
19 lines
326 B
Text
|
haproxy:
|
||
|
pkg:
|
||
|
- installed
|
||
|
file:
|
||
|
- managed
|
||
|
- name: /etc/haproxy/haproxy.cfg
|
||
|
- source: salt://haproxy/files/haproxy.cfg
|
||
|
- user: root
|
||
|
- group: root
|
||
|
- mode: 644
|
||
|
- template: jinja
|
||
|
service:
|
||
|
- running
|
||
|
- enable: True
|
||
|
- require:
|
||
|
- pkg: haproxy
|
||
|
- watch:
|
||
|
- file: haproxy
|