Kevin Fox cac3ed855c Fix genconfig for kolla-kubernetes
This PS fixes some bugs that causes trunk not to work for
kolla-kubernetes.

Change-Id: I4eaba87c9c75a85ac16823a77ab197e62254e66e
2017-01-31 12:17:46 -08:00

12 lines
281 B
Django/Jinja

<source>
@type syslog
port {{ fluentd_syslog_port }}
{% if orchestration_engine != 'KUBERNETES' %}
bind {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
{% else %}
bind 0.0.0.0
{% endif %}
tag syslog
format /^(?<Payload>.*)$/
</source>