Blog

Answers about Puppet

DevOps, Automation

Universe and Everything

Need Puppet help?

Contact Alessandro Franceschi / example42
for direct expert help on Puppet.
If solution is quick, it’s free. No obligations.

Tip of the Week 24 - Puppet 5

Puppet 5 was scheduled to be released somewhere near May 2017. The release was postponed due to some CVE on existing supported Puppet versions.

So we expect Puppet 5 to be available quite soon. Therefore it will be soon time to work on Puppet 5 updates.

Most important is to mention that Puppet 5 does not require any Puppet code changes. It is still recommended to update to latest Puppet 4 version prior upgrading to Puppet 5.

The packages layout and directory structure has not changed. Agent and Master still install into /opt/puppetlabs. Hardware requirements are also identical to Puppet 4.

The master now requires Java 8 and has the eyaml gem contained inside the package. PuppetDB now needs PostgreSQL 9.6!! Puppetserver now has a newer JRuby version. This requires to reinstall all server gems!

At time of this writing the following versions are bundled:

/opt/puppetlabs/puppet/bin/ruby --version
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]

/opt/puppetlabs/puppet/bin/openssl version
OpenSSL 1.0.2k  26 Jan 2017

/opt/puppetlabs/puppet/bin/facter --version
4.0.0 (commit 5cdb4319067a740037d81f042330d85711d9a34c)

/opt/puppetlabs/puppet/bin/puppet --version
5.0.0

/opt/puppetlabs/puppet/bin/pxp-agent --version
1.5.2

/opt/puppetlabs/bin/puppetdb --version
puppetdb version: 5.0.0.SNAPSHOT.2017.06.06T2148

/opt/puppetlabs/bin/puppetserver --version
puppetserver version: 5.0.0.master.SNAPSHOT.2017.06.06T0957

/opt/puppetlabs/puppet/bin/mco --version
/opt/puppetlabs/puppet/bin/mco 2.10.4

You are encouraged to file bug reports at tickets.puppet.com. Please use the “Affected Version” field and use “PUP 5.0.0”

The most easy way to test packages and functionality is by using the nightly builds which are made available since May 9th 2017. The packages can be installed using the following URL’s:

OSURL
Cisco wind river linux 5https://yum.puppetlabs.com/puppet5-nightly/puppet5-nightly-release-cisco-wrlinux-5.noarch.rpm
Cisco wind river linux 7https://yum.puppetlabs.com/puppet5-nightly/puppet5-nightly-release-cisco-wrlinux-7.noarch.rpm
Enterprise Linux 5 (CentOS 5)https://yum.puppetlabs.com/puppet5-nightly/puppet5-nightly-release-el-5.noarch.rpm
Enterprise Linux 6 (CentOS 6)https://yum.puppetlabs.com/puppet5-nightly/puppet5-nightly-release-el-6.noarch.rpm
Enterprise Linux 7 (CentOS 7)https://yum.puppetlabs.com/puppet5-nightly/puppet5-nightly-release-el-7.noarch.rpm
Fedora core 24https://yum.puppetlabs.com/puppet5-nightly/puppet5-nightly-release-fedora-24.noarch.rpm
Fedora core 25https://yum.puppetlabs.com/puppet5-nightly/puppet5-nightly-release-fedora-25.noarch.rpm
SUSE Linux 11https://yum.puppetlabs.com/puppet5-nightly/puppet5-nightly-release-sles-11.noarch.rpm
SUSE Linux 12https://yum.puppetlabs.com/puppet5-nightly/puppet5-nightly-release-sles-12.noarch.rpm
Cumulus Linuxhttps://apt.puppetlabs.com/puppet5-nightly-release-cumulus.deb
Huawei OShttps://apt.puppetlabs.com/puppet5-nightly-release-huaweios.deb
Debian 8 Jessiehttps://apt.puppetlabs.com/puppet5-nightly-release-jessie.deb
Ubuntu 14.04 Trustyhttps://apt.puppetlabs.com/puppet5-nightly-release-trusty.deb
Debian 7 Wheezyhttps://apt.puppetlabs.com/puppet5-nightly-release-wheezy.deb
Ubuntu 16.04 Xenialhttps://apt.puppetlabs.com/puppet5-nightly-release-xenial.deb
Windows (64bit)https://downloads.puppetlabs.com/windows/puppet5-nightly/puppet-agent-4.99.0-x64.msi
Windows (32bit)https://downloads.puppetlabs.com/windows/puppet5-nightly/puppet-agent-4.99.0-x86.msi
OS X 10.10 Yosemitehttps://downloads.puppetlabs.com/mac/puppet5-nightly/10.10/x86_64/puppet-agent-4.99.0-1.osx10.10.dmg
OS X 10.11 EI Capitanhttps://downloads.puppetlabs.com/mac/puppet5-nightly/10.11/x86_64/puppet-agent-4.99.0-1.osx10.11.dmg
macOS 10.12 Sierrahttps://downloads.puppetlabs.com/mac/puppet5-nightly/10.12/x86_64/puppet-agent-4.99.0-1.osx10.12.dmg

Please note that backports are required for Debian Jessie due to Java 8 dependency!

Martin Alfke