class Puppet::Rails::InventoryNode

Public Instance Methods

facts_to_hash() click to toggle source
# File lib/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