[Pkg-puppet-devel] [SCM] Packaging of Facter for debian branch, upstream, updated. 3a39dd8353b6308cf49522990104cc63e55d7cda

James Turnbull james at lovedthanlost.net
Fri Jan 29 17:22:16 UTC 2010


The following commit has been merged in the upstream branch:
commit add6d4763b82ff45c7582f15fab84867ac2ef1a3
Author: James Turnbull <james at lovedthanlost.net>
Date:   Tue Mar 17 20:51:29 2009 +1100

    Fixed #2081 - Fixed interfaces fact for vlan subinterfaces

diff --git a/CHANGELOG b/CHANGELOG
index 952f88d..b6dabab 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,6 @@
 1.6.x:
+    Fixed #2081 - Fixed interfaces fact for vlan subinterfaces
+
     Fixed #2063 - added kernelmajversion fact
 
     Fixed #2055 - SunoS Interface error
diff --git a/lib/facter/util/ip.rb b/lib/facter/util/ip.rb
index 5469f73..55b5e92 100644
--- a/lib/facter/util/ip.rb
+++ b/lib/facter/util/ip.rb
@@ -52,7 +52,7 @@ module Facter::Util::IP
         # We get lots of warnings on platforms that don't get an output
         # made.
         if output
-            int = output.scan(/^\w+[.:]?\d+/)
+            int = output.scan(/^\w+[.:]?\d+[.:]?\d*/)
         else
             []
         end

-- 
Packaging of Facter for debian



More information about the Pkg-puppet-devel mailing list