learn_puppet Error: Could not retrieve catalog from remote server

asked 2014-05-05 06:17:18 -0500

Tomislav Parcina gravatar image

updated 2014-05-05 08:54:44 -0500

ffrank gravatar image

When I execute puppet agent --test I get the following error message:

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 apache at /etc/puppetlabs/puppet/modules/lvmguide/manifests/init.pp:7 on node learn.localdomain

Warning: Not using cache on failed catalog Error: Could not retrieve catalog

I'm executing this command on learn_puppet_centos OVF virtual machine.

edit retag flag offensive close merge delete


Have you edited any manifests after downloading the VM?

ffrank gravatar imageffrank ( 2014-05-05 08:54:34 -0500 )edit

Try running `puppet module list` and see if the apache module is installed. If not, `puppet module install puppetlabs/apache`.

WhatsARanjit gravatar imageWhatsARanjit ( 2014-05-05 12:16:53 -0500 )edit