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