From bc10a006e908521fde9b96fcb0878f546ed996eb Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Wed, 25 Sep 2024 22:15:27 +0200 Subject: [PATCH] updated clickhouse state --- states/clickhouse/config.sls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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