-
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. I was having errors so I commented out offending stanzas from the different manifests that came with the module. There were many "duplicate declaration" errors. I do not know if commenting out those stanzas will later present a problem. But it seems to have helped.
When I run the "puppet agent -t -d" command on the Puppet Agent, I get this error:
Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error; Error while evaluating a Resource Statement, Evaluation Error: Illegal Resource Type expression, expected result to be a type name, or untitled Resource, got Type[Class] at /etc/puppetlabs/code/environments/production /modules/cloudera/manifests/cdh.pp:64:3 on node FQDNofPuppetAgent
Here are the relevant lines of cdh.pp (on the Puppet Master):
64 Class {
65 require => Anchor['cloudera::cdh::begin'],
66 require => Anchro['cloudera::cdh::end'],
67 }
I tried giving the Class a name before and after the opening brace. Neither of those things worked. I tried changing "Class" to "class". But that did not work. How do I get around this error? I want the puppet manifest to apply. I think the "puppet agent -t -d" should work.