Skip to content
Snippets Groups Projects
Commit 6493d24a authored by Eric Veiras Galisson's avatar Eric Veiras Galisson
Browse files

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

parent 752c3e56
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,6 @@ haproxy.config: ...@@ -8,7 +8,6 @@ haproxy.config:
- template: jinja - template: jinja
- user: {{ haproxy.user }} - user: {{ haproxy.user }}
- group: {{ haproxy.group }} - group: {{ haproxy.group }}
{% endif %}
- mode: 644 - mode: 644
- require_in: - require_in:
- service: haproxy.service - service: haproxy.service
......
...@@ -7,9 +7,12 @@ haproxy: ...@@ -7,9 +7,12 @@ haproxy:
#lookup: #lookup:
#user: 'custom-user' #user: 'custom-user'
#group: 'custom-group' #group: 'custom-group'
# new setting to override configuration file path
#config_file: /etc/haproxy/haproxy.cfg
enabled: True enabled: True
overwrite: True # Overwrite an existing config file if present (default behaviour unless set to false) 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: global:
log: log:
- 127.0.0.1 local2 - 127.0.0.1 local2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment