From 5ab68f877cf584eab8fcafad5f20a91a8325a56e Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Mon, 4 Mar 2024 13:56:00 +0100 Subject: [PATCH] Update states/clickhouse/templates/keeper.xml.j2 --- states/clickhouse/templates/keeper.xml.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/states/clickhouse/templates/keeper.xml.j2 b/states/clickhouse/templates/keeper.xml.j2 index eaab661..6d84c91 100644 --- a/states/clickhouse/templates/keeper.xml.j2 +++ b/states/clickhouse/templates/keeper.xml.j2 @@ -2,10 +2,12 @@ {%- for nodename, settings in clickhouse.clusters[clickhouse.cluster].nodes.items() %} +{%- if settings.active|default(true) %} {{ nodename }} 9281 +{%- endif %} {%- endfor %}