Disabling and re-enabling 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. Start a command prompt with Run as administrator.
  2. To disable the agent, run:

    puppet agent --disable "<MESSAGE>"

  3. To enable the agent, run:

    puppet agent --enable