lib/facter/resolvers/dmi_decode.rb in facter-4.0.40 vs lib/facter/resolvers/dmi_decode.rb in facter-4.0.41

- old
+ new

@@ -35,9 +35,10 @@ output = Facter::Core::Execution.execute('dmidecode', logger: log) @fact_list[:virtualbox_version] = output.match(/vboxVer_(\S+)/)&.captures&.first @fact_list[:virtualbox_revision] = output.match(/vboxRev_(\S+)/)&.captures&.first @fact_list[:vmware_version] = extract_vmware_version(output) + @fact_list[:vendor] = output.match(/Vendor: (\S+)/)&.captures&.first @fact_list[fact_name] end def extract_vmware_version(output)