Error 400 on SERVER: Could not find class for Puppet
I've seen several posts and solution for this problem, I tried many of them but still i am not able to solve it.
I am using puppet 3.7.5 which is not installed via yum due to network restriction, so i downloaded the required packages from another server and successfully installed them, all the stuff (Puppet server, dashboard and agent on client machine) are working fine.
But, when i am trying to run puppet I am getting this error everytime I created the weblogic module with one simple test init.pp file with one simple class - but it's not working.
I tried creating/configuring weblogic directory inside /etc/puppet/modules and then /etc/puppet/ but it didn't work
I tried with changing permissions of modules directory to puppet:puppet and with root:root, but it didn't work!
On Agent side :
[root@pclient ~]# puppet agent --test --verbose Info: Retrieving pluginfacts Info: Retrieving plugin Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class weblogic at /etc/puppet/manifests/site.pp:4 on node pclient Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run