tor-formula/tor/map.jinja
2019-03-27 15:50:46 +02:00

11 lines
283 B
Django/Jinja

{% 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') %}