Skip to content

Instantly share code, notes, and snippets.

@mattjbarlow
Created December 22, 2014 15:40
Show Gist options
  • Save mattjbarlow/242b66cdae6938d34419 to your computer and use it in GitHub Desktop.
Save mattjbarlow/242b66cdae6938d34419 to your computer and use it in GitHub Desktop.
Chef Shell in Test Kitchen
cd into /tmp/kitchen.
/opt/chef/embedded/bin/gem install chef-zero
/opt/chef/embedded/bin/chef-zero -d
knife cookbook upload -a -c client.rb
chef-shell -z -c client.rb -o '<YOUR RECIPE>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment