]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Merge branch 'master' of git+ssh://puppet.debian.org/srv/puppet.debian.org/git/dsa...
authorMartin Zobel-Helas <zobel@debian.org>
Sun, 19 Feb 2012 12:31:05 +0000 (13:31 +0100)
committerMartin Zobel-Helas <zobel@debian.org>
Sun, 19 Feb 2012 12:31:05 +0000 (13:31 +0100)
* 'master' of git+ssh://puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet:
  this is a better way to do it
  try new markup function
  add bizet
  Add barriere
  this should slow down spam a bit

modules/debian-org/misc/local.yaml
modules/exim/templates/eximconf.erb
modules/motd/templates/motd.erb

index 4fa23c9a0d257bdd933fee8f086fe9fcaeb053bc..704fdfcb5b9b48410710acc6aeeeea4fc4b60b3e 100644 (file)
@@ -13,11 +13,13 @@ nameinfo:
   arne.debian.org: Thomas Augustine Arne (1710 - 1778)
   arnold.debian.org: Malcolm Henry Arnold (1921 - 2006)
   barber.debian.org: Samuel Barber (March 9th, 1910 - January 23rd, 1981)
+  barriere.debian.org: Jean-Baptiste Barrière (May 2nd, 1707 - June 6th, 1747)
   beethoven.debian.org: Ludwig van Beethoven (December 16th, 1770 - March 26th, 1827)
   bellini.debian.org: Vincenzo Salvatore Carmelo Francesco Bellini (November 3rd, 1801 - September 23rd, 1835)
   bendel.debian.org: Franz Bendel (March 23, 1833 - July 3, 1874)
   berlioz.debian.org: Hector Berlioz (December 11th, 1803 - March 8th, 1869)
   biber.debian.org: Heinrich Ignaz Franz von Biber (August 12th, 1664 - May 3rd, 1704)
+  bizet.debian.org: Georges Bizet, (October 25th, 1838 - June 3rd, 1875)
   blavet.debian.org: Michel Blavet (March 13, 1700 - October 28, 1768)
   brahms.debian.org: Johannes Brahms (May 7th, 1833 - April 3rd, 1897)
   busoni.debian.org: Ferruccio Dante Michelangiolo Benvenuto Busoni (April 1st, 1866 - July 27th, 1924)
@@ -166,6 +168,7 @@ services:
 host_settings:
   heavy_exim:
     - bellini.debian.org
+    - bizet.debian.org
     - busoni.debian.org
     - chopin.debian.org
     - draghi.debian.org
@@ -204,6 +207,7 @@ host_settings:
     - merikanto.debian.org
     - rietz.debian.org
   apache2_backports_mirror:
+    - bizet.debian.org
     - englund.debian.org
     - morricone.debian.org
   timeserver:
@@ -415,6 +419,7 @@ host_settings:
     arnold.debian.org: mailout.debian.org
     ball.debian.org: mailout.debian.org
     barber.debian.org: mailout.debian.org
+    barriere.debian.org: mailout.debian.org
     beethoven.debian.org: mailout.debian.org
     berlioz.debian.org: mailout.debian.org
     biber.debian.org: mailout.debian.org
index 453d11b07d46235b7a1bde7d0ff3c29e68694553..97b96cb6652af61c63f2a4f0c47bea5a8f93a25a 100644 (file)
@@ -289,6 +289,13 @@ acl_getprofile:
           hosts          = !+debianhosts
           set acl_m_rprf = localonly
 
+<%- if nodeinfo['mailrelay'] -%>
+  warn    local_parts    = +local_only_users
+          domains        = +mailhubdomains
+          hosts          = !+debianhosts
+          set acl_m_rprf = localonly
+
+<%- end -%>
   accept  condition      = ${if eq {$acl_m_rprf}{}{no}{yes}}
 
 <%- if nodeinfo['rtmaster'] -%>
index 777ce8fcb5fdd1c2a6d9e9105a950905482921f4..496b5dde6e608cfc6fb4e5a11beaaf8944597a78 100644 (file)
@@ -12,12 +12,8 @@ def wrap(s, width=78)
 end
 
 def markup(l)
-  if l =~ /\[\[(\*|-)?(.*?)\]\]/
-    l = $2
-  end
-  if l =~ /\[\[(.*?)\|(.*?)\]\]/
-    l = $2
-  end
+  l = l.gsub(/\[\[(.*?)\|(.*?)\]\]/, '\2')
+  l = l.gsub(/\[\[(\*|-)?(.*?)\]\]/, '\2')
   return l
 end