Disable and re-enable Puppet runs

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.

  1. To disable the agent, run:

    sudo puppet agent --disable "<MESSAGE>"

  2. To enable the agent, run:

    sudo puppet agent --enable