Checking if Puppet is Disabled

The puppet agent can be disabled from running with:

puppet disable "Some message here"

And it can be re-enabled with:

puppet enable

But to check if puppet is currently disabled there is no check command. Instead look for the existence of the agent_disabled.lock file under:


For the systems I was checking this was at:


Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>