Puppet Agent Installation

So far we have covered Puppet Automation base, Puppet Enterprise Stack and Puppet Master Server Installation:
Start Automation with Puppet

Puppet Enterprise Stack
Puppet Enterprise Master Installation

Let’s learn about the software packages, their versions and some of the important files before proceeding with the Puppet Agent Installation.

Puppet

Installed Package Details of PE Software:

[root@thinknyx]#rpm -qa | grep -i puppet
puppet-agent-1.5.2-1.el6.x86_64
pe-puppetdb-termini-4.1.2-1.el6.noarch
pe-puppetserver-2016.2.0.9-1.el6.noarch
pe-puppet-enterprise-release-2016.2.0.1-1.pe.el6.noarch
pe-puppet-license-cli-0.1.7.24-1.pe.el6.noarch
pe-puppetdb-4.1.2-1.el6.noarch

Note: Each and every package will be having their own versions which are bundled together to provide PE software. For version details of each package use traditional rpm command for Redhat/CentOS variant ex: rpm -qi pe-puppetserver-2016.2.0.9-1.el6.noarch

Puppet Enterprise Software Version Details:

[root@thinknyx]#cat /opt/puppetlabs/server/pe_version
2016.2.0

Note: Sometimes we get confused with PE version and Puppet Version, PE version is the Puppet Enterprise Software Bundle version as shown above, whereas Puppet Version is the version of the Puppet Tools which we use for various Puppet Operations and this tool is bundled with Puppet-Agent Package (puppet-agent-1.5.2-1.el6.x86_64).

[root@thinknyx]#puppet -V
4.5.2
[root@thinknyx]#puppet status
{
“is_alive”: true,
“version”: “4.5.2”
}

Puppet Main Configuration file:

[root@thinknyx]#ls -lrt /etc/puppetlabs/puppet/puppet.conf
-rw-r–r–. 1 root root 970 Sep 21 02:48 /etc/puppetlabs/puppet/puppet.conf

Note: We will discuss about Puppet Configuration file and parameters in future posts in detail.

Puppet Agent Installation:

The puppet agent installation process is very simple, we just need to install one rpm (package) on the client. All of the package can be found on master server at below location. Copy the agent package on the client and install it.

[root@thinknyx]#ls -lrt /opt/puppetlabs/server/data/packages/public/2016.2.0/el-6-x86_64/
total 357224
-rw-r–r–. 1 root root 38413340 Sep 21 02:43 pe-activemq-5.13.2-2.pe.el6.noarch.rpm
-rw-r–r–. 1 root root 225556 Sep 21 02:43 pe-bundler-1.8.2-3.pe.el6.noarch.rpm
-rw-r–r–. 1 root root 4090304 Sep 21 02:43 pe-client-tools-1.0.4-1.el6.x86_64.rpm
-rw-r–r–. 1 root root 32951048 Sep 21 02:43 pe-console-services-1.4.86-1.el6.noarch.rpm
-rw-r–r–. 1 root root 5552 Sep 21 02:43 pe-console-services-termini-1.4.86-1.el6.noarch.rpm
-rw-r–r–. 1 root root 4106500 Sep 21 02:43 pe-installer-2016.1.0.43-1.el6.x86_64.rpm
-rw-r–r–. 1 root root 40664792 Sep 21 02:43 pe-java-1.8.0.91-1.b14.pe.el6.x86_64.rpm
-rw-r–r–. 1 root root 4968 Sep 21 02:43 pe-license-0.1.5.11-1.pe.el6.noarch.rpm
-rw-r–r–. 1 root root 306536 Sep 21 02:43 pe-nginx-1.8.1-1.pe.el6.x86_64.rpm
-rw-r–r–. 1 root root 35281212 Sep 21 02:43 pe-orchestration-services-0.5.14-1.el6.noarch.rpm
-rw-r–r–. 1 root root 12603128 Sep 21 02:43 pe-postgresql-9.4.7-1.pe.el6.x86_64.rpm
-rw-r–r–. 1 root root 478196 Sep 21 02:43 pe-postgresql-contrib-9.4.7-1.pe.el6.x86_64.rpm
-rw-r–r–. 1 root root 1178508 Sep 21 02:43 pe-postgresql-devel-9.4.7-1.pe.el6.x86_64.rpm
-rw-r–r–. 1 root root 4613168 Sep 21 02:43 pe-postgresql-server-9.4.7-1.pe.el6.x86_64.rpm
-rw-r–r–. 1 root root 23581712 Sep 21 02:43 pe-puppetdb-4.1.2-1.el6.noarch.rpm
-rw-r–r–. 1 root root 23568 Sep 21 02:43 pe-puppetdb-termini-4.1.2-1.el6.noarch.rpm
-rw-r–r–. 1 root root 12172 Sep 21 02:43 pe-puppet-enterprise-release-2016.2.0.1-1.pe.el6.noarch.rpm
-rw-r–r–. 1 root root 5484 Sep 21 02:43 pe-puppet-license-cli-0.1.7.24-1.pe.el6.noarch.rpm
-rw-r–r–. 1 root root 50901072 Sep 21 02:43 pe-puppetserver-2016.2.0.9-1.el6.noarch.rpm
-rw-r–r–. 1 root root 11269896 Sep 21 02:43 pe-r10k-2.3.0.1-1.el6.x86_64.rpm
-rw-r–r–. 1 root root 62816008 Sep 21 02:43 pe-razor-libs-1.0.1-9.pe.el6.noarch.rpm
-rw-r–r–. 1 root root 15196580 Sep 21 02:43 pe-razor-server-1.3.0.0-1.pe.el6.noarch.rpm
-rw-r–r–. 1 root root 27020732 Sep 21 02:43 puppet-agent-1.5.2-1.el6.x86_64.rpm
drwxr-xr-x. 2 root root 4096 Sep 21 02:43 repodata
[root@thinknyx]#

On Client:

[root@thinknyx-client]# rpm -ivh puppet-agent-1.5.2-1.el6.x86_64.rpm

Note: This will not start the puppet services bydefault.

This is all about PE version, Puppet Agent installation. In next post we will learn about the Puppet communication and will then proceed further with the Puppet certification Management in following posts.

Leave a Comment

Your email address will not be published.