paulbsd-salt/states/gobackup/map.jinja
2020-08-30 16:54:26 +02:00

14 lines
511 B
Django/Jinja

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