-
Notifications
You must be signed in to change notification settings - Fork 52
Description
I have two RedHat 6.7 servers. One is a Puppet Master, and one is a Puppet Agent.
On the Puppet Master I installed two dependencies of the Cloudera module and the Cloudera Module itself. I used this link (and the links to its dependencies): https://forge.puppet.com/razorsedge/cloudera
I do not want to deviate from the standard module whenever possible.
When I run the "puppet agent -t -d" command on the Puppet Agent, I get this error:
Error: Could not retrieve the catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Class[Cloudera::Java5] is already declared; cannot redeclare at /etc/puppetlabs/code.../init.pp
I don't know why I received this. I am using a plain server without customizing the Cloudera module.
To work around this problem, I commented out the class of "cloudera::java5" from the init.pp file that comes with the Cloudera module on the Puppet Master server. I then ran "puppet agent -t -d" again from the Puppet Agent server.
This time I get a very similar error except it deals with a duplicate declaration of Class[Cloudera::Cm5].
What am I supposed to do to get the Cloudera module to work? Comment out many different sections of the init.pp file?