Class: Puppet::Rails::InventoryNode
- Defined in:
- lib/vendor/puppet/rails/inventory_node.rb
Instance Method Summary collapse
Instance Method Details
#facts_to_hash ⇒ Object
38 39 40 41 42 |
# File 'lib/vendor/puppet/rails/inventory_node.rb', line 38 def facts_to_hash facts.inject({}) do |fact_hash,fact| fact_hash.merge(fact.name => fact.value) end end |