[Mageia-sysadm] [552] the sympa class was renamed, so we need to adjust the tag here

root at mageia.org root at mageia.org
Thu Dec 9 13:34:18 CET 2010


Revision: 552
Author:   misc
Date:     2010-12-09 13:34:18 +0100 (Thu, 09 Dec 2010)
Log Message:
-----------
the sympa class was renamed, so we need to adjust the tag here

Modified Paths:
--------------
    puppet/modules/postfix/templates/main.cf
    puppet/modules/postfix/templates/primary_master.cf
    puppet/modules/postfix/templates/transport_regexp

Modified: puppet/modules/postfix/templates/main.cf
===================================================================
--- puppet/modules/postfix/templates/main.cf	2010-12-09 12:34:17 UTC (rev 551)
+++ puppet/modules/postfix/templates/main.cf	2010-12-09 12:34:18 UTC (rev 552)
@@ -39,7 +39,7 @@
 mydestination = <%= fqdn %>
 <%- if all_tags.include?('postfix::primary_smtp') -%>
                 <%= domain %>,
-<%-   if classes.include?('sympa') -%>
+<%-   if classes.include?('sympa::server') -%>
                 ml.<%= domain %>
 <%-   end -%>
 
@@ -55,7 +55,7 @@
 content_filter = smtp-filter:[127.0.0.1]:10025
 <%- end -%>
 
-<%- if classes.include?('sympa') -%>
+<%- if classes.include?('sympa::server') -%>
 sympa_destination_recipient_limit = 1
 sympabounce_destination_recipient_limit = 1
 <%- end -%>

Modified: puppet/modules/postfix/templates/primary_master.cf
===================================================================
--- puppet/modules/postfix/templates/primary_master.cf	2010-12-09 12:34:17 UTC (rev 551)
+++ puppet/modules/postfix/templates/primary_master.cf	2010-12-09 12:34:18 UTC (rev 552)
@@ -116,7 +116,7 @@
 #mailman   unix  -       n       n       -       -       pipe
 #  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
 #  ${nexthop} ${user}
-<% if classes.include?('sympa') %>
+<% if classes.include?('sympa::server') %>
 sympa        unix  -       n       n       -       -       pipe
   flags=R user=sympa argv=/usr/sbin/queue ${recipient}
 sympabounce  unix  -       n       n       -       -       pipe

Modified: puppet/modules/postfix/templates/transport_regexp
===================================================================
--- puppet/modules/postfix/templates/transport_regexp	2010-12-09 12:34:17 UTC (rev 551)
+++ puppet/modules/postfix/templates/transport_regexp	2010-12-09 12:34:18 UTC (rev 552)
@@ -1,7 +1,7 @@
 <%
 ml_domain = 'ml\.' + domain.gsub('.','\.')
 %>
-<%- if classes.include?('sympa') -%>
+<%- if classes.include?('sympa::server') -%>
 /^.*+owner\@<%= ml_domain %>$/ sympabounce:
 /^.*\@<%= ml_domain %>$/       sympa:
 <%- end -%>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101209/9e6ee538/attachment.html>


More information about the Mageia-sysadm mailing list