Puppet Enterprise 2016.x : Puppet Agent installation

Share via:

Puppet Agent Installation

Note: There are many ways in Installing the Puppet agent . Below is one example 

1. Download puppet RPM based on the linux version.
https://yum.puppetlabs.com/

puppet-agent-1.4.1-1.el6.x86_64.rpm

#rpm -ivh puppet-agent-1.4.1-1.el6.x86_64.rpm

2. configure puppet.conf

root@hostpp$ cat /etc/puppetlabs/puppet/puppet.conf
[main]
certname = hostpp.example.com       [ agent certificate name]
server = hostppmaster.example.com  [master certificate name]
environment = production
runinterval = 30m

3. Run the service

/opt/puppetlabs/bin/puppet agent -t

note: This will create a ssl CERT

4. Go to Puppet master server (hostppmaster.example.com) check the certname

# puppet cert list
# puppet cert sign hostpp.example.com

5. run puppet agent to download the catalogues
/opt/puppletlabs/bin/puppet agent -t

6. Test from Puppet Master (hostppmaster.example.com) to see if the agent connected
su – peadmin
mco ping

 

Share via:
Note: Please test scripts in Non Prod before trying in Production.
1 Star2 Stars3 Stars4 Stars5 Stars (11 votes, average: 5.00 out of 5)
Loading...

2 thoughts on “Puppet Enterprise 2016.x : Puppet Agent installation

Add Comment