lib/facter/resolvers/windows/virtualization_resolver.rb in facter-4.0.46 vs lib/facter/resolvers/windows/virtualization_resolver.rb in facter-4.0.47

- old
+ new

@@ -19,10 +19,10 @@ def post_resolve(fact_name) @fact_list.fetch(fact_name) { read_fact_from_computer_system(fact_name) } end def read_fact_from_computer_system(fact_name) - win = Win32Ole.new + win = Facter::Util::Windows::Win32Ole.new comp = win.exec_query('SELECT Manufacturer,Model,OEMStringArray FROM Win32_ComputerSystem') unless comp @log.debug 'WMI query returned no results for Win32_ComputerSystem with values'\ ' Manufacturer, Model and OEMStringArray.' return