paulbsd-salt/states/ipblc/map.jinja
Paul Lecuq 9730b83e41
All checks were successful
continuous-integration/drone/push Build is passing
added iplbc state
2023-01-07 21:04:49 +01:00

15 lines
496 B
Django/Jinja

{%- 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) -%}