[chef] Re: Re: Re: how to know chef-client run start and end time


Chronological Thread 
  • From: Jeff Blaine < >
  • To:
  • Subject: [chef] Re: Re: Re: how to know chef-client run start and end time
  • Date: Wed, 07 May 2014 12:54:34 -0400

>         How to know chef-client start and End time once it was run?
>         How to know single cookbook or multiple cookbook execution start
>         and end time?

Use the lastrun_update report handler that comes with 'knife-lastrun'.
It will store a chunk of info on each node object out on the chef
server, including success/failure, start time, end time, elapsed time,
resources updated, any exceptions if failure, etc.

See: https://github.com/jgoulah/knife-lastrun

I nominate this handler for "Most useful least known Chef code"

Jeff Blaine



Archive powered by MHonArc 2.6.16.

§