formula-haproxy/haproxy/config.sls

11 lines
291 B
Plaintext
Raw Normal View History

haproxy.config:
file.managed:
- name: {{ salt['pillar.get']('haproxy:config_file_path', '/etc/haproxy/haproxy.cfg') }}
- source: salt://haproxy/templates/haproxy.jinja
- template: jinja
- user: root
- group: root
- mode: 644
- watch_in:
- service: haproxy.service