How to Install Puppet on RHEL 8 - LinuxConfig.org

IT admins rely on Puppet to manage complex deployments every day. If your network is built on Red Hat systems, you're going to need to install Puppet on RHEL 8. Puppet Labs provides a repository and packages, so the whole thing should be relatively hassle free.


This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-install-puppet-on-redhat-8

Think the rpm name has changed since this fine article was written. Using the command given in the article, get a 404. Change

puppetlabs-release-el-8.noarch.rpm

to

puppet-release-el-8.noarch.rpm

…and all good though. Example below.

[steve@rhel-8-puppet ~]$ sudo dnf install https://yum.puppetlabs.com/puppetlabs-release-el-8.noarch.rpm
...
[MIRROR] puppetlabs-release-el-8.noarch.rpm: Status code: 404 for https://yum.puppetlabs.com/puppetlabs-release-el-8.noarch.rpm
[FAILED] puppetlabs-release-el-8.noarch.rpm: Status code: 404 for https://yum.puppetlabs.com/puppetlabs-release-el-8.noarch.rpm
Status code: 404 for https://yum.puppetlabs.com/puppetlabs-release-el-8.noarch.rpm
[steve@rhel-8-puppet ~]$

Works:

[steve@rhel-8-puppet ~]$ sudo dnf install https://yum.puppetlabs.com/puppet-release-el-8.noarch.rpm
Last metadata expiration check: 0:01:33 ago on Sat 03 Aug 2019 06:30:38 PM UTC.
puppet-release-el-8.noarch.rpm                                                                                                                                                                                12 kB/s |  14 kB     00:01
Dependencies resolved.
=============================================================================================================================================================================================================================================
 Package                                                     Arch                                                Version                                                     Repository                                                 Size
=============================================================================================================================================================================================================================================
Installing:
 puppet-release                                              noarch                                              1.0.0-7.el8                                                 @commandline                                               14 k

Transaction Summary
=============================================================================================================================================================================================================================================
Install  1 Package

Total size: 14 k
Installed size: 5.0 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                     1/1
  Running scriptlet: puppet-release-1.0.0-7.el8.noarch                                                                                                                                                                                   1/1
  Installing       : puppet-release-1.0.0-7.el8.noarch                                                                                                                                                                                   1/1
  Running scriptlet: puppet-release-1.0.0-7.el8.noarch                                                                                                                                                                                   1/1
  Verifying        : puppet-release-1.0.0-7.el8.noarch                                                                                                                                                                                   1/1

Installed:
  puppet-release-1.0.0-7.el8.noarch

Complete!
[steve@rhel-8-puppet ~]$
1 Like

Hi Steve,

thank you for the information. The article will be updated shortly.

Lubos