summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/rails
diff options
context:
space:
mode:
authorJacob Helwig <jacob@puppetlabs.com>2011-02-25 17:03:56 -0800
committerJacob Helwig <jacob@puppetlabs.com>2011-03-15 10:29:20 -0700
commitff9e2425a58bb2b1ab836e440c3344b4012623c5 (patch)
tree6fa677aa40e356536b8520722c383102648bfed7 /lib/puppet/util/rails
parent30fa41ddc3796e62a5bd1d0cf5116e14323992a3 (diff)
downloadpuppet-ff9e2425a58bb2b1ab836e440c3344b4012623c5.tar.gz
puppet-ff9e2425a58bb2b1ab836e440c3344b4012623c5.tar.xz
puppet-ff9e2425a58bb2b1ab836e440c3344b4012623c5.zip
(#5428) More fully "stub" Puppet::Resource::Reference for use with storedconfigs
The Puppet::Resource::Reference class wasn't stubbing enough of the 0.25.x behavior to satisfy the needs of storedconfigs. Since P::R::Reference, and Puppet::Resource were merged as part of 2.6.x, we can pretend that P::Resource is P::R::Reference for the purposes of loading data from storedconfigs. This should still satisfy the over-the-wire serialization needs of 0.25.x. This also changes internal references to @parameters in Puppet::Resource(::Reference) to go through a parameters method. This allows us to "initialize" this instance variable lazily, since loading via YAML bypasses the normal initialize method. Paired-with: Daniel Pittman <daniel@puppetlabs.com> Reviewed-by: Markus Roberts <markus@puppetlabs.com>
Diffstat (limited to 'lib/puppet/util/rails')
0 files changed, 0 insertions, 0 deletions