Puppet master/agent basic setup

Posted by lewap on Server Fault See other posts from Server Fault or by lewap
Published on 2012-06-18T20:22:30Z Indexed on 2012/06/18 21:18 UTC
Read the original article Hit count: 303

Filed under:

I'm trying to setup a basic puppet agent/master use-case with an agent server and a master. I've setup two servers with puppet and puppet master respectively.

After the following setup of both servers:

puppet master --no-daemonize --verbose puppet agent --test puppet cert --list to get the list, puppet cert --sign to sign it. puppet agent --test

I get the message:

err: Could not retrieve catalog from remote server: hostname was not match with the server certificate
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
err: Could not send report: hostname was not match with the server certificate

What do I need to do in order to get the agent/master to be able to talk to each other?

© Server Fault or respective owner

Related posts about puppet