Chef debug
If you want to learn how a chef run works or debug a recipe, I advise you to turn on the debug log level!
On Vagrant :
....
config.vm.provision :chef_solo do |chef|
#If you need to debug a recipe
chef.log_level = :debug
....
On chef-solo :
chef-solo --log_level DEBUG ...
And voila!
Written by Pierre Ozoux
Related protips
1 Response
also :
chef-client --node-name "Jenkins" --log_level debug
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vagrant
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#