paulbsd-salt/states/gobackup/map.jinja

14 lines
511 B
Plaintext
Raw Normal View History

2020-08-30 16:54:26 +02:00
{%- 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')
)
)
-%}