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