From f63b42c2a6f7bc631b28a94fa93c4c254086f3ac Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Thu, 7 May 2009 00:14:21 +0100 Subject: [PATCH] A little cleanup of whitespace Signed-off-by: Stephen Gran --- files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb b/files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb index eb99a06b4..02c9e6173 100644 --- a/files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb +++ b/files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb @@ -28,8 +28,10 @@ module Puppet::Parser::Functions results['packagesmaster'] = host == 'powell.debian.org' 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' + 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