Forked from mattjbarlow/gist:242b66cdae6938d34419
Last active
September 27, 2017 15:26
-
-
Save swalberg/1ad5de8235a204cc13bdc98601b537f3 to your computer and use it in GitHub Desktop.
Chef Shell in Test Kitchen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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