paulbsd-salt/states/ipblc/map.jinja

15 lines
496 B
Plaintext
Raw Permalink Normal View History

2023-01-07 21:04:49 +01:00
{%- import_yaml "ipblc/defaults.yaml" as default_settings -%}
{%- import_yaml "ipblc/kernelmap.yaml" as kernelmap -%}
{%- import_yaml "ipblc/osarchmap.yaml" as osarchmap -%}
{%- set defaults = salt['grains.filter_by'](default_settings,
default='ipblc',
merge=salt['grains.filter_by'](osarchmap, grain='osarch',
merge=salt['grains.filter_by'](kernelmap, grain='kernel')
)
)
-%}
{%- set ipblc = salt['pillar.get']('ipblc', default=defaults, merge=True) -%}