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

Paul Nasrat pnasrat at googlemail.com
Wed Aug 18 05:55:40 UTC 2010


The following commit has been merged in the upstream branch:
commit 50cef83753273bb326a3282f33f0089504d91319
Author: Paul Nasrat <pnasrat at googlemail.com>
Date:   Sun Jan 17 16:00:26 2010 +0000

    Fix missing error case

diff --git a/lib/facter/util/manufacturer.rb b/lib/facter/util/manufacturer.rb
index dd503f9..d015226 100644
--- a/lib/facter/util/manufacturer.rb
+++ b/lib/facter/util/manufacturer.rb
@@ -30,6 +30,7 @@ module Facter::Manufacturer
     def self.dmi_find_system_info(name)
         splitstr=  Facter.value(:kernel) ==  'SunOS' ? "ID    SIZE TYPE" : "Handle"
         output = self.get_dmi_table()
+        return if output.nil?
         name.each_pair do |key,v|
             v.each do |v2|
                 v2.each_pair do |value,facterkey|

-- 
Packaging of Facter for debian



More information about the Pkg-puppet-devel mailing list