From f48f5fae4ecfa7726b3d5256b1024c15a99565ab Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Wed, 6 May 2009 23:45:04 +0100 Subject: [PATCH] that's probably the fix Signed-off-by: Stephen Gran --- files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb b/files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb index aae67bce2..eb99a06b4 100644 --- a/files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb +++ b/files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb @@ -27,10 +27,10 @@ module Puppet::Parser::Functions results['rtmaster'] = host == 'spohr.debian.org' results['packagesmaster'] = host == 'powell.debian.org' -# nodeinfo['reservedaddrs'] = case host -# when "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' -# else '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' -# end + results['reservedaddrs'] = case host + when "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' + else '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' + end ldap = LDAP::Conn.new('db.debian.org') -- 2.20.1