We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 752c3e5 commit 6493d24Copy full SHA for 6493d24
2 files changed
haproxy/config.sls
@@ -8,7 +8,6 @@ haproxy.config:
8
- template: jinja
9
- user: {{ haproxy.user }}
10
- group: {{ haproxy.group }}
11
- {% endif %}
12
- mode: 644
13
- require_in:
14
- service: haproxy.service
pillar.example
@@ -7,9 +7,12 @@ haproxy:
7
#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
15
+ #config_file_path: /etc/haproxy/haproxy.cfg
16
global:
17
log:
18
- 127.0.0.1 local2
0 commit comments