{%- from "clickhouse/map.jinja" import clickhouse with context -%} {%- for nodename, settings in clickhouse.clusters[clickhouse.cluster].nodes.items() %} {{ nodename }} 9281 1 {%- endfor %} 9281 {{ clickhouse.clusters[clickhouse.cluster].nodes[salt['grains.get']('fqdn')].id }} /var/lib/clickhouse/coordination/log /var/lib/clickhouse/coordination/snapshots 10000 30000 fatal true {%- for nodename, settings in clickhouse.clusters[clickhouse.cluster].nodes.items() %} {{ settings.id }} {{ nodename }} 9444 {%- endfor %}