Forked from mattjbarlow/gist:242b66cdae6938d34419
Last active
December 23, 2016 16:56
-
-
Save rj-reilly/2e8df31e8b144d721c538ac585523eef 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 /tmp/kitchen | |
sudo /opt/chef/embedded/bin/gem install chef-zero | |
/opt/chef/embedded/bin/chef-zero -d | |
sudo knife cookbook upload -a -c client.rb | |
sudo chef-shell -z -c client.rb -o 'demonops::default' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment