Whether you’re troubleshooting errors, working in a maintenance window, or developing in a sandbox environment, you might need to temporarily disable the Puppet agent from running.
To disable the agent, run:
sudo puppet agent --disable "<MESSAGE>"
To enable the agent, run:
sudo puppet agent --enable