lib/ohai/plugins/kernel.rb in ohai-16.3.2 vs lib/ohai/plugins/kernel.rb in ohai-16.4.11

- old
+ new

@@ -250,10 +250,10 @@ kernel[:modules] = modules end collect_data(:windows) do require "win32ole" unless defined?(WIN32OLE) - require "wmi-lite/wmi" + require "wmi-lite/wmi" unless defined?(WmiLite::Wmi) WIN32OLE.codepage = WIN32OLE::CP_UTF8 wmi = WmiLite::Wmi.new