Module: Facter::FactAugmenter
- Defined in:
- lib/facter/framework/core/fact_augmenter.rb
Class Method Summary collapse
Class Method Details
.augment_resolved_facts(searched_facts, resolved_facts) ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/facter/framework/core/fact_augmenter.rb', line 5 def self.augment_resolved_facts(searched_facts, resolved_facts) augumented_resolved_facts = [] searched_facts.each do |searched_fact| matched_facts = get_resolved_facts_for_searched_fact(searched_fact, resolved_facts) augment_resolved_fact_for_user_query!(searched_fact, matched_facts) augumented_resolved_facts.concat(matched_facts) end augumented_resolved_facts end |