paulbsd-salt/states/provision/map.jinja
Paul Lecuq 5f5f3945cd
Some checks failed
continuous-integration/drone/push Build is failing
updated provision state
2023-01-16 12:01:49 +01:00

8 lines
434 B
Django/Jinja

{%- import_yaml "provision/defaults.yaml" as default_settings -%}
{%- set defaults_specs = salt['grains.filter_by'](default_settings, default='specs') -%}
{%- set defaults_provision = salt['grains.filter_by'](default_settings, default='provision') -%}
{%- set specs = salt['pillar.get']('specs', default=defaults_specs, merge=True) -%}
{%- set provision = salt['pillar.get']('provision', default=defaults_provision, merge=True) -%}