paulbsd-salt/states/clickhouse-backup/map.jinja
Paul Lecuq 046de339c8
All checks were successful
continuous-integration/drone/push Build is passing
added clickhouse-backup state
2024-02-07 22:02:04 +01:00

15 lines
567 B
Django/Jinja

{%- import_yaml "clickhouse-backup/defaults.yaml" as default_settings -%}
{%- import_yaml "clickhouse-backup/kernelmap.yaml" as kernelmap -%}
{%- import_yaml "clickhouse-backup/osarchmap.yaml" as osarchmap -%}
{%- set defaults = salt['grains.filter_by'](default_settings,
default='clickhouse-backup',
merge=salt['grains.filter_by'](osarchmap, grain='osarch',
merge=salt['grains.filter_by'](kernelmap, grain='kernel')
)
)
-%}
{%- set clickhousebackup = salt['pillar.get']('clickhouse-backup', default=defaults, merge=True) -%}