diff --git a/states/clickhouse/config.sls b/states/clickhouse/config.sls index 8dc532b..71360c9 100644 --- a/states/clickhouse/config.sls +++ b/states/clickhouse/config.sls @@ -8,8 +8,8 @@ clickhouse-config-folder: {% for file in clickhouse.config.files %} clickhouse-config-file-{{ file }}: file.managed: - - name: /etc/clickhouse-server/config.d/file.xml - - source: salt://clickhouse/templates/file.xml.j2 + - name: /etc/clickhouse-server/config.d/{{ file }}.xml + - source: salt://clickhouse/templates/{{ file }}.xml.j2 - user: clickhouse - group: clickhouse - mode: 600