[Pkg-puppet-devel] [SCM] Packaging of Facter for debian branch, experimental, updated. debian/1.5.8-2-160-gb26a2a8

Jeremy Katz katzj at fedoraproject.org
Tue May 10 08:40:10 UTC 2011


The following commit has been merged in the experimental branch:
commit f91c1205e4dc9a78066af8818fdb92f630aad0d9
Author: Jeremy Katz <katzj at hubspot.com>
Date:   Mon Apr 18 12:28:11 2011 -0400

    downcase arp output so that the ec2 arp is matched
    
    CentOS 5.4 arp gives the arp output as uppercase; downcase it so
    we're ensured a match

diff --git a/lib/facter/arp.rb b/lib/facter/arp.rb
index 0a7cf67..6269ae0 100644
--- a/lib/facter/arp.rb
+++ b/lib/facter/arp.rb
@@ -8,7 +8,7 @@ Facter.add(:arp) do
       arp = ""
       output.each_line do |s|
         if s =~ /^\S+\s\S+\s\S+\s(\S+)\s\S+\s\S+\s\S+$/
-          arp = $1
+          arp = $1.downcase
           break # stops on the first match
         end
       end

-- 
Packaging of Facter for debian



More information about the Pkg-puppet-devel mailing list