The source code for that method is in the patch I posted, I think you just missed it.
On Tue, Jul 13, 2010 at 7:06 PM, Todd Zullinger <[email protected]> wrote: > Jesse Wolfe wrote: > > My previous fix for #3656 missed the case where a "require" attribute > > (or other graph-ish attribute) had multiple values. This patch > > generalizes that fix to the multiple-value case. > [...] > > + hash[param] = Puppet::Resource.value_to_pson_data(value) > > Admittedly, I didn't apply this to head and generate a new tarball and > rpm to test with. I just made the change to the installed resource.rb > from rc3 (and restarted the master daemon). > > I get: > > err: Could not retrieve catalog from remote server: Error 400 on SERVER: > Could not render to pson: undefined method `value_to_pson_data' for > Puppet::Resource:Class > > A git grep doesn't find any definition of a value_to_pson_data method. > Am I just doing it wrong or does this patch depend on some other code > that isn't in master yet? > > -- > Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: > www.pobox.com/~tmz/pgp<http://www.pobox.com/%7Etmz/pgp> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Cover a war in a place where you can't drink beer or talk to a woman? > Hell no!" > -- Hunter S. Thompson > > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
