From d61167dcb761dea88e9d0a722bf0c143dea943ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= Date: Fri, 9 Jan 2015 18:05:14 +0100 Subject: [PATCH] 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. --- postfix/files/main.cf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postfix/files/main.cf b/postfix/files/main.cf index 860827e..4c9867b 100644 --- a/postfix/files/main.cf +++ b/postfix/files/main.cf @@ -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 -%}