paulbsd-salt/states/ipbl/map.jinja

14 lines
489 B
Plaintext
Raw Permalink Normal View History

2021-12-12 19:11:24 +01:00
{%- import_yaml "ipbl/defaults.yaml" as default_settings -%}
{%- import_yaml "ipbl/kernelmap.yaml" as kernelmap -%}
{%- import_yaml "ipbl/osarchmap.yaml" as osarchmap -%}
{%- set defaults = salt['grains.filter_by'](default_settings,
default='ipbl',
merge=salt['grains.filter_by'](osarchmap, grain='osarch',
merge=salt['grains.filter_by'](kernelmap, grain='kernel')
)
)
-%}
{%- set ipbl = salt['pillar.get']('ipbl', default=defaults, merge=True) -%}