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:
Raphaël Hertzog 2015-01-09 18:05:14 +01:00
parent d599abb9cd
commit d61167dcb7

View File

@ -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 -%}