Merge pull request #7 from rhertzog/fix-issue-6

Special case the 'aliases' and 'virtual' pillar entries
This commit is contained in:
Seth House 2015-01-09 11:32:53 -07:00
commit fef4cf2093

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