12 lines
351 B
Django/Jinja
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) -%}
|