Merge "Fix telegraf with zookeeper (wrong port variable reference)"

This commit is contained in:
Zuul 2020-03-25 12:55:33 +00:00 committed by Gerrit Code Review
commit 6af7efe349
2 changed files with 7 additions and 1 deletions

View File

@ -83,7 +83,7 @@
{% endif %}
{% if inventory_hostname in groups['zookeeper'] and enable_zookeeper | bool %}
[[inputs.zookeeper]]
servers = ["{{ api_interface_address | put_address_in_context('url') }}:{{ zookeeper_port }}"]
servers = ["{{ api_interface_address | put_address_in_context('url') }}:{{ zookeeper_client_port }}"]
{% endif %}
{% if inventory_hostname in groups['kafka'] and enable_kafka | bool %}
[[inputs.kafka_consumer]]

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes failure to deploy telegraf with monitoring of zookeeper due
to wrong variable being referenced.
`LP#1867179 <https://launchpad.net/bugs/1867179>`__