Why puppet showing different versions in system:

[root@localhost ~]# puppet --version
[root@localhost ~]# puppet agent --version

But rpm shows diff version for agent and server

[root@localhost ~]# rpm -qa | grep puppet

Please clarify?


1 Answer 1


puppet-agent is a bundle package containing a number of components, called the All-in-One (AIO) package. Here is some more information on it:

With the RPMs, you can find out the contents of puppet-agent and the versions of every component with rpm -qi puppet-agent, e.g.

# rpm -qi puppet-agent
Name        : puppet-agent
Version     : 1.8.2
Release     : 1.el7
Architecture: x86_64
Install Date: Wed 07 Dec 2016 07:12:31 EST
Group       : System Environment/Base
Size        : 126776210
License     : See components
Signature   : RSA/SHA512, Tue 06 Dec 2016 14:30:51 EST, Key ID 7f438280ef8d349f
Source RPM  : puppet-agent-1.8.2-1.el7.src.rpm
Build Date  : Mon 05 Dec 2016 19:37:56 EST
Build Host  : hk1ldlzw0klwdyo.delivery.puppetlabs.net
Relocations : (not relocatable)
Vendor      : Puppet Labs
URL         : https://www.puppetlabs.com
Summary     : The Puppet Agent package contains all of the elements needed to run puppet, including ruby, facter, hiera and mcollective.
Description :
The Puppet Agent package contains all of the elements needed to run puppet, including ruby, facter, hiera and mcollective.

Contains the following components:
augeas 1.4.0
cpp-hocon 0.1.4
puppet 4.8.1

The version of "puppet" in the output corresponds to the version of Puppet:

# puppet --version

You can also find this information summarised online at puppet-agent: What is it, and what's in it? with a table of puppet-agent/Puppet version numbers.

Puppet Server is similar. It has its own numbering scheme, where the latest at the time of writing is 2.7.2, and yours is 2.6.0. See Puppet Server: Release Notes for information about each version.

The puppetserver package does depend on puppet-agent, so when you're running Puppet Server, you're using Puppet Server 2.6.0 with Puppet 4.7.0 from puppet-agent. The server will have access to all of the language features from Puppet 4.7.0.

In short: you're using Puppet 4.7.0 for the server and agent. Trust puppet --version.

  • Hi Dominic, read the link and it cleared the doubt once it for all. Thanks for the detailed explanation. Commented Dec 8, 2016 at 6:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .