aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/templates
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-19 20:19:09 +0000
committerMichael Scherer <misc@mageia.org>2010-11-19 20:19:09 +0000
commit809dc51adb370d2a14dfb7384d609ee3390e53e0 (patch)
treef89898d41c8522d6a6a2f3ec581a43879d4f8924 /modules/postfix/templates
parent626176bdb47c170a2314c17e8d6325e7a880d502 (diff)
downloadpuppet-809dc51adb370d2a14dfb7384d609ee3390e53e0.tar
puppet-809dc51adb370d2a14dfb7384d609ee3390e53e0.tar.gz
puppet-809dc51adb370d2a14dfb7384d609ee3390e53e0.tar.bz2
puppet-809dc51adb370d2a14dfb7384d609ee3390e53e0.tar.xz
puppet-809dc51adb370d2a14dfb7384d609ee3390e53e0.zip
- fix template
Diffstat (limited to 'modules/postfix/templates')
-rw-r--r--modules/postfix/templates/main.cf3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf
index 41790325..e6f53bbf 100644
--- a/modules/postfix/templates/main.cf
+++ b/modules/postfix/templates/main.cf
@@ -52,8 +52,9 @@ alias_maps = hash:/etc/aliases
#ldap:/etc/postfix/ldap_aliases.conf
<%- end -%>
-transport_maps = regexp:/etc/postfix/transport_regexp
+<%- if all_tags.include?('postfix::smtp_server') -%>
+transport_maps = regexp:/etc/postfix/transport_regexp
<%- end -%>
<%- if classes.include?('sympa') -%>