Skip to main content

quick-tip

Debugging chef on Vagrant VM

Command to debug chef recipes on a Vagrant VM that uses chef-solo for provisioning:

sudo chef-solo -c /tmp/vagrant-chef/solo.rb -j /tmp/vagrant-chef/dna.json -l debug

Or, the proper way:

vagrant provision

(Thanks to Mitchell Hashimoto for pointing that out)

Syndicate content