Upgrade macOS agents

To upgrade macOS agents without the puppetlabs/puppet_agent module, use the puppet resource command.

Before you begin

Download the appropriate agent DMG.

Use the package resource provider for macOS to install the agent from a disk image:
sudo puppet resource package "<NAME>.dmg" ensure=present source=<FULL PATH TO DMG>