Oh! I see my mistake: I keep conflating the attributes hash and the parameters hash. I've changed that line in my branch.
~Jesse On Thu, Jul 15, 2010 at 9:00 PM, Markus Roberts <[email protected]>wrote: > > - obj = Puppet::Parser::Resource.new(hash) > > + obj = Puppet::Parser::Resource.new(hash["type"], hash["title"], > hash) > > As Peter noted, this needs to be > hash.delete("type"),hash.delete("title"); the setters for these are > not always idempotent, which is why they were pulled out in the > refactor that started all this. > > -- Markus > ----------------------------------------------------------- > The power of accurate observation is > commonly called cynicism by those > who have not got it. ~George Bernard Shaw > ------------------------------------------------------------ > > -- > 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]<puppet-dev%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/puppet-dev?hl=en. > > -- 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.
