diff -r 98bc99958997 -r afd31ba91ee9 components/ruby/facter/patches/facter-06-21936192-ipaddress.patch --- a/components/ruby/facter/patches/facter-06-21936192-ipaddress.patch Mon Apr 25 10:20:40 2016 -0700 +++ b/components/ruby/facter/patches/facter-06-21936192-ipaddress.patch Wed Apr 27 14:55:10 2016 -0700 @@ -1,9 +1,18 @@ Split from BSD method and add getent hosts Also don't try to run `host hostname` if the host command isn't available. No upstream facter 2.x is dead and new bugs are not being accepted. ---- facter-2.1.0/lib/facter/ipaddress.rb.orig 2015-10-02 13:17:19.199030743 -0400 -+++ facter-2.1.0/lib/facter/ipaddress.rb 2015-10-02 13:17:25.713426750 -0400 -@@ -64,7 +64,7 @@ + +--- facter-2.4.6/lib/facter/ipaddress.rb.orig 2016-04-19 15:19:02.958338799 -0700 ++++ facter-2.4.6/lib/facter/ipaddress.rb 2016-04-19 15:27:05.519845908 -0700 +@@ -1,3 +1,7 @@ ++####################################################################### ++# Oracle has modified the originally distributed contents of this file. ++####################################################################### ++ + # Fact: ipaddress + # + # Purpose: Return the main IP address for a host. +@@ -64,7 +68,7 @@ end Facter.add(:ipaddress) do @@ -12,7 +21,7 @@ setcode do ip = nil output = Facter::Util::IP.exec_ifconfig(["-a"]) -@@ -84,6 +84,41 @@ +@@ -84,6 +88,41 @@ end Facter.add(:ipaddress) do @@ -54,7 +63,7 @@ confine :kernel => %w{AIX} setcode do ip = nil -@@ -152,8 +187,9 @@ +@@ -150,8 +189,9 @@ Facter.add(:ipaddress, :timeout => 2) do setcode do