Posted by Dark Training on April 26, 2013
tags:
| centos
| puppet
| linux
Installing Puppet on CentOS 6.4
Before I start I want to give credit to this site for starting me off in the right direction. His/Her instructions ALMOST work, but fail to finish the job for Centos 6.4 and Puppet 3.x.
6tech.org
Before we start, there are assumptions being made. First, you are starting from a vanilla minimal install of CentOS 6.4. Secound, when I say "FQDN" that means replace that with the fully qualified domain name of the host. IE Server.internal.net
First you need to grab the appropriate puppet installer for your OS (x86_64 or i386)
Set the server to auto-sign certs. (If you are worried about security, don't do this, use puppet cert --sign FQDN).
*Append this to the end of the file
Client Node install
Add the puppet labs repo
Install the Puppet Client
If you are not using DNS in your envrionment, you will need to manually edit your hosts file.
Edit /etc/puppet/puppet.conf and add the agent variables:
Set the puppet agent to run on boot:
Now test the client:
That should connect you to the server which will automatically sign the cert. If you have opted to manually sign, you now need to go back to the server and run.
Did this work for you? Let others know in the comments below!