updated clickhouse state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2024-09-25 22:08:58 +02:00
parent 5939213a7f
commit 038edfe13e
2 changed files with 13 additions and 48 deletions

View File

@ -5,56 +5,13 @@ clickhouse-config-folder:
- name: /etc/clickhouse-server/config.d
- clean: True
clickhouse-config-file-settings:
{% for file in clickhouse.config.files %}
clickhouse-config-file-{{ file }}:
file.managed:
- name: /etc/clickhouse-server/config.d/settings.xml
- source: salt://clickhouse/templates/settings.xml.j2
- user: clickhouse
- group: clickhouse
- mode: 600
- template: jinja
clickhouse-config-file-macros:
file.managed:
- name: /etc/clickhouse-server/config.d/macros.xml
- source: salt://clickhouse/templates/macros.xml.j2
- user: clickhouse
- group: clickhouse
- mode: 600
- template: jinja
clickhouse-config-file-replica:
file.managed:
- name: /etc/clickhouse-server/config.d/replica.xml
- source: salt://clickhouse/templates/replica.xml.j2
- user: clickhouse
- group: clickhouse
- mode: 600
- template: jinja
clickhouse-config-file-keeper:
file.managed:
- name: /etc/clickhouse-server/config.d/keeper.xml
- source: salt://clickhouse/templates/keeper.xml.j2
- user: clickhouse
- group: clickhouse
- mode: 600
- template: jinja
clickhouse-config-file-tls:
file.managed:
- name: /etc/clickhouse-server/config.d/tls.xml
- source: salt://clickhouse/templates/tls.xml.j2
- user: clickhouse
- group: clickhouse
- mode: 600
- template: jinja
clickhouse-config-file-prometheus:
file.managed:
- name: /etc/clickhouse-server/config.d/prometheus.xml
- source: salt://clickhouse/templates/prometheus.xml.j2
- name: /etc/clickhouse-server/config.d/file.xml
- source: salt://clickhouse/templates/file.xml.j2
- user: clickhouse
- group: clickhouse
- mode: 600
- template: jinja
{% endfor %}

View File

@ -6,6 +6,14 @@ clickhouse:
- clickhouse-client
databases: {}
users: {}
config:
files:
- keeper
- macros
- prometheus
- replica
- settings
- tls
cluster: paulbsd
clusters:
paulbsd: