Upgrade *nix agents

To help simplify the upgrade, use the puppetlabs/puppet_agent module when upgrading between major versions of Puppet agent. To upgrade *nix without the module, you can use the system's package manager.

Before upgrading to another major version, ensure that you have installed the appropriate release package for your platform and added your Puppet Forge API key to the repository as described in Installing Puppet. You can find release packages for supported platforms at yum-puppetcore.puppet.com and apt-puppetcore.puppet.com. We also provide nightly release packages at nightlies.puppet.com.
On the agent node, run the command appropriate to your system's package installer:
Yum (EL/Fedora):
yum update puppet-agent

Zypper (SLES)

zypper up puppet-agent
Apt (Debian/Ubuntu):
apt-get update
apt-get install --only-upgrade puppet-agent