basho-labs / puppet-riak

A puppet module to deploy Riak clusters
Apache License 2.0
33 stars 37 forks source link

Fix namespace collision #19

Closed rdark closed 11 years ago

rdark commented 11 years ago

On subsequent runs after a puppetmaster restart I was seeing:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `[]' for Puppet::Parser::Util::Hash:Class at /etc/puppet/env/common/module/riak/manifests/appconfig.pp:36 on node $node.$domain

Appeared to be caused by a collision with the Hash class in Puppet::Parser::Util::InstanceMethods.

haf commented 11 years ago

Pretty evil of puppet to put stuff like that in the global namespace!

Thanks for the fix!