paulbsd-salt/states/clickhouse-backup/map.jinja

15 lines
567 B
Plaintext
Raw Normal View History

2024-02-07 22:02:04 +01:00
{%- 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) -%}