Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save swalberg/1ad5de8235a204cc13bdc98601b537f3 to your computer and use it in GitHub Desktop.
Save swalberg/1ad5de8235a204cc13bdc98601b537f3 to your computer and use it in GitHub Desktop.
Chef Shell in Test Kitchen
cd C:\Users\vagrant\AppData\local\Temp\kitchen
C:\opscode\chef\embedded\bin\gem install chef-zero
C:\opscode\chef\embedded\bin\chef-zero -d # or run this in another window with out -d
knife cookbook upload -a -c client.rb
C:\Users\vagrant\AppData\local\Temp\kitchen> knife cookbook upload -a -c client.rb -k .\client.pem -s http://localhost:8889 -o .
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