paulbsd-salt/states/provision/map.jinja

8 lines
434 B
Plaintext
Raw Permalink Normal View History

2020-07-10 00:58:55 +02:00
{%- import_yaml "provision/defaults.yaml" as default_settings -%}
2023-01-16 12:01:49 +01:00
{%- set defaults_specs = salt['grains.filter_by'](default_settings, default='specs') -%}
{%- set defaults_provision = salt['grains.filter_by'](default_settings, default='provision') -%}
2020-07-10 00:58:55 +02:00
2023-01-16 12:01:49 +01:00
{%- set specs = salt['pillar.get']('specs', default=defaults_specs, merge=True) -%}
{%- set provision = salt['pillar.get']('provision', default=defaults_provision, merge=True) -%}