Wednesday, June 1, 2016

Puppet Agent install and configuration on CentOS/Redhat



1. Download the puppet agent from http://puppet.com
      or go directly to https://puppet.com/download-puppet-enterprise/thank-you

2. Upload the rpm file to the server and run

     rpm -ivh puppet-agent<version>.rpm



Note: Here I am using Centos 6.5 -  64bits OS


3. Configure puppet agent to point to the master server.
 3.1   Open the file /etc/puppetlabs/puppet/puppet.conf and add the following entires


[main]
certname = puppetclient1.com
server = puppetmaster.com
environment = production
runinterval = 1h


3.2 Run puppet agent -t from the client






3.3 Accept the client cert from the Puppet master server

1 comment: