aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-10-18 20:12:02 +0200
committerintrigeri <intrigeri@boum.org>2010-10-18 20:12:02 +0200
commit146a4eadee759b87d6e97a692d01090f6bb2f6c4 (patch)
tree964d99db004062dc71ed1c6b66d0775032cb9704
parent04d4503a18656d664fac26c772665909dd055f59 (diff)
downloadpuppet-postfix-146a4eadee759b87d6e97a692d01090f6bb2f6c4.tar.gz
puppet-postfix-146a4eadee759b87d6e97a692d01090f6bb2f6c4.tar.bz2
Add the possibility to append arbitrary text to master.cf templates.
-rw-r--r--templates/master.cf.debian-etch.erb4
-rw-r--r--templates/master.cf.debian-lenny.erb4
-rw-r--r--templates/master.cf.redhat5.erb4
3 files changed, 12 insertions, 0 deletions
diff --git a/templates/master.cf.debian-etch.erb b/templates/master.cf.debian-etch.erb
index e6bc4ec..4b39f45 100644
--- a/templates/master.cf.debian-etch.erb
+++ b/templates/master.cf.debian-etch.erb
@@ -108,3 +108,7 @@ sympa unix - n n - - pipe
sympabounce unix - n n - - pipe
flags=R user=sympa argv=/usr/lib/sympa/bin/bouncequeue ${user}
<% end %>
+
+<%- unless postfix_mastercf_tail.to_s.empty? then -%>
+<%= postfix_mastercf_tail %>
+<%- end -%>
diff --git a/templates/master.cf.debian-lenny.erb b/templates/master.cf.debian-lenny.erb
index 7a3aeae..11d0fa0 100644
--- a/templates/master.cf.debian-lenny.erb
+++ b/templates/master.cf.debian-lenny.erb
@@ -114,3 +114,7 @@ sympa unix - n n - - pipe
sympabounce unix - n n - - pipe
flags=R user=sympa argv=/usr/lib/sympa/bin/bouncequeue ${user}
<% end %>
+
+<%- unless postfix_mastercf_tail.to_s.empty? then -%>
+<%= postfix_mastercf_tail %>
+<%- end -%>
diff --git a/templates/master.cf.redhat5.erb b/templates/master.cf.redhat5.erb
index 8c3ee53..3d0c7d6 100644
--- a/templates/master.cf.redhat5.erb
+++ b/templates/master.cf.redhat5.erb
@@ -79,3 +79,7 @@ ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
+
+<%- unless postfix_mastercf_tail.to_s.empty? then -%>
+<%= postfix_mastercf_tail %>
+<%- end -%>