Debug chef-solo runs in Vagrant
Vagrant creates the directory /tmp/vagrant-chef-1 to run chef-solo jobs. There are two files it creates under that directory:
-
solo.rb: The configuration file for chef-solo -
dna.json: The JSON attributes file for the chef-solo run
To debug your Vagrant based chef-solo runs, then login to your vagrant box with vagrant ssh and then:
cd /tmp/vagrant-chef-1
chef-solo -c solo.rb -j dns.jsonWritten by Gavin M. Roy
Related protips
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#