paulbsd-salt/states/apt/map.jinja
2023-07-02 21:32:49 +02:00

12 lines
351 B
Django/Jinja

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