13 lines
319 B
Django/Jinja
13 lines
319 B
Django/Jinja
{% import_yaml "postfix/defaults.yaml" as defaults %}
|
|
{% import_yaml "postfix/osmap.yaml" as osmap %}
|
|
|
|
{% set postfix = salt['grains.filter_by'](
|
|
defaults,
|
|
merge=salt['grains.filter_by'](
|
|
osmap,
|
|
grain='os',
|
|
merge=salt['pillar.get']('postfix:lookup', {}),
|
|
),
|
|
base='postfix')
|
|
%}
|