Upgrade *nix agents
We recommend using 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.
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