Last active
March 13, 2018 21:44
-
-
Save damacus/34d83d31ffab3da857268b537b1d9ad0 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
sudo /opt/chef/embedded/bin/gem install chef-zero | |
sudo /opt/chef/embedded/bin/chef-zero -d | |
knife cookbook upload -a -c /tmp/kitchen/client.rb | |
# Give it an override runlist | |
sudo chef-shell -z -c /tmp/kitchen/client.rb -o test::default | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment