16 lines
358 B
Django/Jinja
16 lines
358 B
Django/Jinja
# -*- coding: utf-8 -*-
|
|
# vim: ft=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')
|
|
%}
|