paulbsd-salt/states/apt/map.jinja

12 lines
351 B
Plaintext
Raw Normal View History

2021-09-25 16:06:38 +02:00
{%- import_yaml "apt/defaults.yaml" as default_settings %}
2023-07-02 21:32:49 +02:00
{%- import_yaml "apt/osarchmap.yaml" as osarchmap -%}
2021-09-25 16:06:38 +02:00
2023-07-02 21:32:49 +02:00
{%- 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) -%}