Optimized manage_master_config conditional

This commit is contained in:
jeroen92 2015-03-26 09:43:44 +01:00
parent 493298fff1
commit f8cbffc620

View File

@ -20,7 +20,7 @@ include:
- watch_in: - watch_in:
- service: postfix - service: postfix
- template: jinja - template: jinja
{% if salt['pillar.get']('postfix:manage_master_config', True) == True %} {% if salt['pillar.get']('postfix:manage_master_config', True) %}
/etc/postfix/master.cf: /etc/postfix/master.cf:
file.managed: file.managed:
- source: salt://postfix/files/master.cf - source: salt://postfix/files/master.cf