Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Run chef-client in Test Kitchen. It installs Chef Zero and it uploads everything to it.
#!/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
You can’t perform that action at this time.