1. Enable the Puppet Core repositories

Enabling the Puppet Core repositories makes the components needed for installation available on your system. The process for enabling the repositories depends on your package management system, such as Yum or Apt.

Before you begin:

Identify the URL of the package you want to enable based on your operating system and version. *nix platform packages are located in Puppet.com repositories corresponding to the Yum and Apt package management systems.

Ensure that you download packages and artifacts from the current location, as listed in the table.

Table 1. Package and artifact locations
Package or artifact type Location
Yum https://yum-puppetcore.puppet.com
Apt https://apt-puppetcore.puppet.com
Microsoft Windows and macOS https://artifacts-puppetcore.puppet.com
Puppet and Facter gems https://rubygems-puppetcore.puppet.com

Yum is used with RPM-based operating systems such as Red Hat Enterprise Linux (RHEL) , Fedora, Amazon Linux, and SUSE Linux Enterprise Server (SLES). Go to https://yum-puppetcore.puppet.com/public for a list of packages and corresponding URLs. The Yum package URL naming convention is generally:

https://yum-puppetcore.puppet.com/public/<platform_name>-release-<OS_abbreviation>-<OS_version>.noarch.rpm

For example: https://yum-puppetcore.puppet.com/public/puppet8-release-el-8.noarch.rpm.

Apt is used with Debian and Ubuntu. Go to https://apt-puppetcore.puppet.com/public for a list of packages and corresponding URLs. The Apt package URL naming convention is generally:

https://apt-puppetcore.puppet.com/public/<platform_version>-release-<version_code_name>.deb

For example: https://apt-puppetcore.puppet.com/public/puppet8-release-jammy.deb. Note that for Ubuntu releases, the version_code_name is the adjective, not the animal.