If nothing, you can look in /var/chef/cache/cookbooks/ to see what was actually published from the upstream chef server. This is also useful when someone is updating the cookbooks,
without actually changing the version number of the cookbook. (I've run into this lately with manual updates to an environment before code could get through a review process, particularly for testing chef cookbooks.)
From: Florian Hehlen
Sent: Thursday, October 10, 2013 6:03 AM To: Subject: [chef] which cookbook version used in chef-client run? Hi,
Is there a way to list or to log which cookbook version was used during a chef-client run. I know I can crack open metadata.rb files in the chef/cache directory but that is a bit clunky. It is also usefull information to log I would say.
Cheers, Flo |
Archive powered by MHonArc 2.6.16.