{%- from "clickhouse/map.jinja" import clickhouse with context %} {{ clickhouse.cluster }} {{ clickhouse.clusters[clickhouse.cluster].nodes[salt['grains.get']('fqdn')].shard }} {{ salt['grains.get']('fqdn') }}