We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa77a39 commit 35781a1Copy full SHA for 35781a1
1 file changed
haproxy/templates/haproxy.jinja
@@ -30,6 +30,12 @@ global
30
{%- else %}
31
log /dev/log local0
32
log /dev/log local1 notice
33
+{%- endif %}
34
+{%- if salt['pillar.get']('haproxy:global:log-tag') %}
35
+ log-tag {{ salt['pillar.get']('haproxy:global:log-tag', 'haproxy') }}
36
37
+{%- if salt['pillar.get']('haproxy:global:log-send-hostname') %}
38
+ log-send-hostname {{ salt['pillar.get']('haproxy:global:log-send-hostname') }}
39
{%- endif %}
40
user {{ salt['pillar.get']('haproxy:global:user', 'haproxy') }}
41
group {{ salt['pillar.get']('haproxy:global:group', 'haproxy') }}
0 commit comments