Skip to content

Commit

Permalink
Merge pull request #27 from nl2go/fix_macros_for_new_shards
Browse files Browse the repository at this point in the history
fixed macros.xml
  • Loading branch information
hasithaka authored Jan 26, 2021
2 parents ae0f186 + bb6cbf9 commit 89be8fb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions templates/macros.xml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@
{% if inventory_hostname in groups['clickhouse_shard02'] %}
<shard>02</shard>
{% endif %}
{% if inventory_hostname in groups['clickhouse_shard03'] %}
<shard>03</shard>
{% endif %}
{% if inventory_hostname in groups['clickhouse_shard04'] %}
<shard>04</shard>
{% endif %}
{% if inventory_hostname in groups['clickhouse_shard05'] %}
<shard>05</shard>
{% endif %}
{% if inventory_hostname in groups['clickhouse_shard06'] %}
<shard>06</shard>
{% endif %}
<replica>{{ inventory_hostname }}</replica>
<distributed_clusters>distributed_cluster</distributed_clusters>
</macros>
Expand Down

0 comments on commit 89be8fb

Please sign in to comment.