agent_catalog_run.lock

15 views
Skip to first unread message

Jason McMahan

unread,
May 23, 2018, 1:16:48 PM5/23/18
to Puppet Users
Has anyone else run into the problem where an agent run gets stuck per say?
We have found at times the agent runs could be stuck for multiple days.

I was trying to come up with an option that would automatically stop the agent run if it lasted over 24 hrs per say so we dont have to go back to servers and remove the lock file.

Anyone else have ideas or suggestions?

Usually when it occurs we remove the lock file perform a run and all is well, it is just getting to however many that are affected in a timely manner and clearing the lock.


Thank you.

Jason

R.I.Pienaar

unread,
May 23, 2018, 1:46:32 PM5/23/18
to puppet...@googlegroups.com
try setting runtimeout=1000 where 1000 is seconds you want to give it as a max run

--
R.I.Pienaar / www.devco.net / @ripienaar

Jason McMahan

unread,
May 23, 2018, 5:22:29 PM5/23/18
to Puppet Users
Thank you for the prompt reply R.I. 
I appreciate the help.
Reply all
Reply to author
Forward
0 new messages