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