Update states/clickhouse/templates/keeper.xml.j2
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2024-03-04 13:56:00 +01:00
parent d18a73ecc0
commit 5ab68f877c

View File

@ -2,10 +2,12 @@
<clickhouse> <clickhouse>
<zookeeper> <zookeeper>
{%- for nodename, settings in clickhouse.clusters[clickhouse.cluster].nodes.items() %} {%- for nodename, settings in clickhouse.clusters[clickhouse.cluster].nodes.items() %}
{%- if settings.active|default(true) %}
<node> <node>
<host>{{ nodename }}</host> <host>{{ nodename }}</host>
<port>9281</port> <port>9281</port>
</node> </node>
{%- endif %}
{%- endfor %} {%- endfor %}
</zookeeper> </zookeeper>
<keeper_server> <keeper_server>