Update states/clickhouse/templates/keeper.xml.j2
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d18a73ecc0
commit
5ab68f877c
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user