Special case the 'aliases' and 'virtual' pillar entries
They must not be added as non-standard parameters, they constitute data for other files. Fixes #6.
This commit is contained in:
parent
d599abb9cd
commit
d61167dcb7
@ -1,5 +1,5 @@
|
||||
{% set config = salt['pillar.get']('postfix', {}) -%}
|
||||
{% set processed_parameters = [] -%}
|
||||
{% set processed_parameters = ['aliases', 'virtual'] -%}
|
||||
{% macro set_parameter(parameter, default=None) -%}
|
||||
{% set value = config.get(parameter, default) -%}
|
||||
{% if value is not none -%}
|
||||
|
Loading…
Reference in New Issue
Block a user