Skip to content
Snippets Groups Projects
Unverified Commit 35781a1a authored by Kolin Keane's avatar Kolin Keane Committed by GitHub
Browse files

Add log-tag and log-send-hostname

parent fa77a391
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,12 @@ global ...@@ -30,6 +30,12 @@ global
{%- else %} {%- else %}
log /dev/log local0 log /dev/log local0
log /dev/log local1 notice log /dev/log local1 notice
{%- endif %}
{%- if salt['pillar.get']('haproxy:global:log-tag') %}
log-tag {{ salt['pillar.get']('haproxy:global:log-tag', 'haproxy') }}
{%- endif %}
{%- if salt['pillar.get']('haproxy:global:log-send-hostname') %}
log-send-hostname {{ salt['pillar.get']('haproxy:global:log-send-hostname') }}
{%- endif %} {%- endif %}
user {{ salt['pillar.get']('haproxy:global:user', 'haproxy') }} user {{ salt['pillar.get']('haproxy:global:user', 'haproxy') }}
group {{ salt['pillar.get']('haproxy:global:group', 'haproxy') }} group {{ salt['pillar.get']('haproxy:global:group', 'haproxy') }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment