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