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
4.8.1
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
.