What is the lock file we can check to make sure puppet configuration is still running? can we check /var/lib/puppet/state/agentcatalogrun.lock
file for all the OS environments like windows and linux?
I am using puppet 3.8 in windows server 2012 and I could see that the lock file is getting created. Will it vary for different windows versions?
You can find out which agent lock file is being used by doing the following :
puppet agent --genconfig | grep agent_catalog_run_lockfile
From puppet doc:
agent_catalog_run_lockfile
A lock file to indicate that a puppet agent catalog run is currently in
progress. The file contains the pid of the process that holds the lock
on the catalog run.
Default: $statedir/agent_catalog_run.lock