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.
Start a command prompt with Run as administrator.
To disable the agent, run:
puppet agent --disable "<MESSAGE>"
To enable the agent, run:
puppet agent --enable