Last active
February 6, 2017 19:20
-
-
Save rtacconi/908a540a9476064c1fc9bdac188c8350 to your computer and use it in GitHub Desktop.
Run chef-client in Test Kitchen. It installs Chef Zero and it uploads everything to it.
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
#!/bin/bash | |
cd /tmp/kitchen | |
/opt/chef/embedded/bin/gem install chef-zero | |
/opt/chef/embedded/bin/chef-zero -d | |
knife upload / -c client.rb | |
chef-client -j dna.json -c client.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment