Skip to content

Instantly share code, notes, and snippets.

@innyso
Created March 30, 2016 04:54
Show Gist options
  • Save innyso/d9978bdc7c6b0b83b00e1a13a965966d to your computer and use it in GitHub Desktop.
Save innyso/d9978bdc7c6b0b83b00e1a13a965966d to your computer and use it in GitHub Desktop.
Check whether puppet agent is disable or not

if puppet agent is disabled, there will be a agent_disabled.lock file in the following location

/var/lib/puppet/state/agent_disabled.lock

@grahamnicholls
Copy link

The location on our servers is /opt/puppetlabs/puppet/state/agent_disabled.lock

@innyso
Copy link
Author

innyso commented Mar 30, 2020

@grahamnicholls Thank you! That's good to know :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment