Class Puppet::Rails::ParamValue
In: lib/puppet/rails/param_value.rb
Parent: ActiveRecord::Base

Methods

Included Modules

Puppet::Util::ReferenceSerializer

Public Class methods

returns an array of hash containing all the parameters of a given host

returns an array of hash containing all the parameters of a given resource

Store a new parameter in a Rails db.

Make sure an array (or possibly not an array) of values is correctly set up for Rails. The main thing is that Resource::Reference objects should stay objects, so they just get serialized.

Public Instance methods

I could not find a cleaner way to handle making sure that resource references were consistently serialized and deserialized.

[Validate]