Skip to content

Instantly share code, notes, and snippets.

@mazurov
Last active July 4, 2018 16:06
Show Gist options
  • Save mazurov/5356d09785cb2b18c7f6b3b2ae9151bb to your computer and use it in GitHub Desktop.
Save mazurov/5356d09785cb2b18c7f6b3b2ae9151bb to your computer and use it in GitHub Desktop.
Debug chef on ec2
sudo -i
cd /tmp/kitchen
/opt/chef/embedded/bin/chef-zero -d
knife upload . -c client.rb -VVV
/opt/chef/embedded/bin/chef-shell -z -c ./client.rb -j ./dna.json -o <run list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment