]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Move reservedaddrs directly into exim.conf
authorPeter Palfrader <peter@palfrader.org>
Thu, 20 Jun 2013 09:03:18 +0000 (11:03 +0200)
committerPeter Palfrader <peter@palfrader.org>
Thu, 20 Jun 2013 09:03:18 +0000 (11:03 +0200)
modules/debian-org/misc/local.yaml
modules/exim/templates/eximconf.erb
modules/puppetmaster/lib/puppet/parser/functions/yamlinfo.rb

index 005afca4a2355e91dc1c7a67f360f5576606b283..ff6e47eca8a9388470d91bed4b9f64980f85287e 100644 (file)
@@ -411,5 +411,3 @@ host_settings:
     - rietz.debian.org
     - stanley.debian.org
     - senfter.debian.org
-#  reservedaddrs:
-#    ball.debian.org: "0.0.0.0/8 : 127.0.0.0/8 : 169.254.0.0/16 : 172.16.0.0/12 : 192.0.0.0/17 : 192.168.0.0/16 : 224.0.0.0/4 : 240.0.0.0/5 : 248.0.0.0/5"
index 81da814ba39492fecc779f83fe6efbc2629828f8..33a81c461017be5901e036493ab5dd8866f58d5c 100644 (file)
@@ -123,7 +123,7 @@ localpartlist postmasterish = postmaster : abuse : hostmaster
 
 hostlist debianhosts = <; ; 127.0.0.1 ; ::1 ; /var/lib/misc/thishost/debianhosts ; 89.16.166.49 ; 82.195.75.76 ; 2001:41b8:202:deb:bab5:0:52c3:4b4c
 
-hostlist reservedaddrs = <%= scope.lookupvar('site::nodeinfo')['reservedaddrs'] %>
+hostlist reservedaddrs = 0.0.0.0/8 : 127.0.0.0/8 : 10.0.0.0/8 : 169.254.0.0/16 : 172.16.0.0/12 : 192.0.0.0/17 : 192.168.0.0/16 : 224.0.0.0/4 : 240.0.0.0/5 : 248.0.0.0/5
 
 <%- if scope.lookupvar('site::nodeinfo')['mailrelay'] -%>
 # Domains we relay for; that is domains that aren't considered local but we 
index 8f705c8d813730d31dd1185ee824b7f4f1e47d82..b38f5d56a3793e4f4365686f8d747ff97bfac587 100644 (file)
@@ -28,8 +28,7 @@ module Puppet::Parser::Functions
       results['smarthost']      = ''
       results['heavy_exim']     = ''
       results['smarthost_port'] = 587
-      results['reservedaddrs']  = '0.0.0.0/8 : 127.0.0.0/8 : 10.0.0.0/8 : 169.254.0.0/16 : 172.16.0.0/12 : 192.0.0.0/17 : 192.168.0.0/16 : 224.0.0.0/4 : 240.0.0.0/5 : 248.0.0.0/5'
-    
+
       if yaml['host_settings'].kind_of?(Hash)
         yaml['host_settings'].each_pair do |property, values|
           if values.kind_of?(Hash)