[chef] how to know if a chef-client run is occuring


Chronological Thread 
  • From: Michael Hart < >
  • To: "< >" < >
  • Subject: [chef] how to know if a chef-client run is occuring
  • Date: Wed, 21 Aug 2013 16:22:59 +0000
  • Accept-language: en-CA, en-US

Is there a definitive way of querying the chef server to see if a chef-client run is occurring on a node? We've noticed that a "knife status" will return a timestamp of "382528 hours ago", or however many hours you are away from epoch, and but it's not entirely consistent and using that in code feels like a bit of a hack. Ideally I'd like an API to return true or false if a chef-client run is occurring. Thoughts?

cheers
mike

-- 
Michael Hart
Arctic Wolf Networks
M: 226.388.4773




Archive powered by MHonArc 2.6.16.

§