lib/ohai/plugins/dmi_common.rb in ohai-0.6.0.beta.0 vs lib/ohai/plugins/dmi_common.rb in ohai-0.6.0

- old
+ new

@@ -65,9 +65,13 @@ 39 => 'power_supply', 126 => 'disabled_entries', 127 => 'end_of_table_marker', } + # list of IDs to collect, otherwise we generate pages of hashes about cache chip size and whatnot + # See OHAI-260. When we can give the user a choice, this will be a default. + IdToCapture = [ 0, 1, 2, 3, 4, 6, 11 ] + # look up DMI ID def DMI.id_lookup(id) begin id = id.to_i if (id >= 128) and (id <= 255)