> - 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].
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en.