From: Martin Zobel-Helas Date: Sun, 19 Feb 2012 12:31:05 +0000 (+0100) Subject: Merge branch 'master' of git+ssh://puppet.debian.org/srv/puppet.debian.org/git/dsa... X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=23f24a14a26d103b356c8b5d5e987c6ef9f2174c;hp=e8f9fa747b79a5d7ac5dd740055fe582c8ff1faa;p=dsa-puppet.git Merge branch 'master' of git+ssh://puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet * '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 --- diff --git a/modules/debian-org/misc/local.yaml b/modules/debian-org/misc/local.yaml index 4fa23c9a..704fdfcb 100644 --- a/modules/debian-org/misc/local.yaml +++ b/modules/debian-org/misc/local.yaml @@ -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 diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 453d11b0..97b96cb6 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -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'] -%> diff --git a/modules/motd/templates/motd.erb b/modules/motd/templates/motd.erb index 777ce8fc..496b5dde 100644 --- a/modules/motd/templates/motd.erb +++ b/modules/motd/templates/motd.erb @@ -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