Error: Could not retrieve catalog from remote server
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class java at /etc/puppetlabs/puppet/environments/cicd_205067_pro/modules/jenkins/manifests/init.pp:177 on node
I keep getting this error on my new agent that i just registered to master. I had tested this module on another agent and it works. Can anybody help me with understanding this error and what might be missing in terms of configuration on agent or master?
Dependency is specified in my puppetfile