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