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