Skip to content

Commit 6493d24

Browse files
committed
info in pillar.example about old and new setting for conf file path
1 parent 752c3e5 commit 6493d24

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

haproxy/config.sls

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ haproxy.config:
88
- template: jinja
99
- user: {{ haproxy.user }}
1010
- group: {{ haproxy.group }}
11-
{% endif %}
1211
- mode: 644
1312
- require_in:
1413
- service: haproxy.service

pillar.example

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ haproxy:
77
#lookup:
88
#user: 'custom-user'
99
#group: 'custom-group'
10+
# new setting to override configuration file path
11+
#config_file: /etc/haproxy/haproxy.cfg
1012
enabled: True
1113
overwrite: True # Overwrite an existing config file if present (default behaviour unless set to false)
12-
config_file_path: /etc/haproxy/haproxy.cfg
14+
# old setting to override configuration file path, kept for compatibility
15+
#config_file_path: /etc/haproxy/haproxy.cfg
1316
global:
1417
log:
1518
- 127.0.0.1 local2

0 commit comments

Comments
 (0)