lib/octofacts_updater/fact_index.rb
# Rebuild an index with a specified list of facts. This will remove any indexed facts that
# are not on the list of facts to use.
#
# facts_to_index - An Array of Strings with facts to index
# fixtures       - An Array with fact fixtures (must respond to .facts and .hostname)
Rebuild an index with a specified list of facts. This will remove any indexed facts that
are not on the list of facts to use.

An Array of Strings with facts to index
fixtures       - An Array with fact fixtures (must respond to .facts and .hostname)
Rebuild an index with a specified list of facts . This will remove any indexed facts that are not on the list of facts to use . An Array of Strings with facts to index fixtures - An Array with fact fixtures ( must respond to . facts and . hostname )
def reindex(facts_to_index, fixtures)
      @index_data = {}
      facts_to_index.each { |fact| add(fact, fixtures) }
      set_top_level_nodes_fact(fixtures)
    end
def reindex ( facts_to_index , fixtures ) @index_data = { } facts_to_index . each { | fact | add ( fact , fixtures ) } set_top_level_nodes_fact ( fixtures ) end
Rebuild an index with a specified list of facts.
Rebuild an index with a specified list of facts .
facts_to_index
<not_specific>
fixtures
<not_specific>