Browse files

Removed extraneous field (resources) from fields_to_include argument …

…used when constructing the flattened list of "mk_hw_cpu..." values (shouldn't effect the output at all since there isn't a "resources" field in the "lshw -c processor" output, it's just a "neatness counts" sort of thing)
  • Loading branch information...
Tom McSweeney
Tom McSweeney committed Apr 16, 2012
1 parent e77bb5b commit 7cbe8c0775527453ae34564c7966d98eecb50302
Showing with 2 additions and 2 deletions.
  1. +2 −2 razor_microkernel/rz_mk_hardware_facter.rb
@@ -88,8 +88,8 @@ def add_facts_to_map!(facts_map, mk_fct_excl_pattern)
# and add a set of facts from the array of processor information as top-level facts in the
# facts_map so that we can use them later to tag nodes
fields_to_include = ["description", "product", "vendor", "physical_id",
"bus_info", "version", "resources", "serial", "slot",
"size", "capacity", "width", "clock", "capabilities",
"bus_info", "version", "serial", "slot", "size",
"capacity", "width", "clock", "capabilities",
add_flattened_array_to_facts!(hash_map["cpu_array"], facts_map,
"mk_hw_cpu", fields_to_include)

0 comments on commit 7cbe8c0

Please sign in to comment.