Markus Roberts wrote:
> - self.to_hash.values_at(*key_attributes.sort_by { |k| k.to_s })
> + # Temporary kludge to deal with inconsistant use patters
> + h = self.to_hash
> + h[namevar] ||= h[:name]
> + h[:name] ||= h[namevar]
> + h.values_at(*key_attributes.sort_by { |k| k.to_s })
+1. Fixes #4285 for me.
James
--
Puppet Labs - http://www.puppetlabs.com
C: 503-734-8571
--
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.