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