formula-haproxy/haproxy/config.sls

9 lines
244 B
Text
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