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