paulbsd-salt/states/npf/map.jinja
2020-07-10 00:58:55 +02:00

6 lines
386 B
Django/Jinja

{%- import_yaml "npf/defaults.yaml" as default_settings -%}
{%- set defaults_npf = salt['grains.filter_by'](default_settings, default='npf') -%}
{%- set defaults_net = salt['grains.filter_by'](default_settings, default='net') -%}
{%- set npf = salt['pillar.get']('npf', default=defaults_npf, merge=True) -%}
{%- set net = salt['pillar.get']('net', default=defaults_net, merge=True) -%}