{% import_yaml "tor/defaults.yaml" as defaults %} {% import_yaml "tor/osfamilymap.yaml" as osfamilymap %} {% set map = salt['grains.filter_by'](defaults, merge=salt['grains.filter_by']( osfamilymap, grain='os_family', merge=salt['pillar.get']('tor', {}), ), base='tor') %}