info in pillar.example about old and new setting for conf file path

This commit is contained in:
Eric Veiras Galisson 2017-11-02 09:40:52 +01:00
parent 752c3e5641
commit 6493d24ad3
2 changed files with 4 additions and 2 deletions

View file

@ -8,7 +8,6 @@ haproxy.config:
- template: jinja
- user: {{ haproxy.user }}
- group: {{ haproxy.group }}
{% endif %}
- mode: 644
- require_in:
- service: haproxy.service

View file

@ -7,9 +7,12 @@ haproxy:
#lookup:
#user: 'custom-user'
#group: 'custom-group'
# new setting to override configuration file path
#config_file: /etc/haproxy/haproxy.cfg
enabled: True
overwrite: True # Overwrite an existing config file if present (default behaviour unless set to false)
config_file_path: /etc/haproxy/haproxy.cfg
# old setting to override configuration file path, kept for compatibility
#config_file_path: /etc/haproxy/haproxy.cfg
global:
log:
- 127.0.0.1 local2