-
-
Save gawbul/d9ec3ca138c173963b0ca8a1565cf019 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. | |
/opt/chef/embedded/bin/gem install chef-zero | |
/opt/chef/embedded/bin/chef-zero -d | |
knife cookbook upload -a -c solo.rb | |
knife environment from file environments/DEV.json -c solo.rb | |
chef-shell -z -c solo.rb -o '<YOUR RECIPE>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment