Test kitchen or knife offline?

Hi all,

Do we have a way to converge or run knife in a environment without internet connectivity?

When running test kitchen it downloads chef omnibus from the web but I’d like to run it in real servers which do not have internet connectivity.


If Chef is already installed on the machine, TK won’t try to install it. Depending on what driver you are using, you could either bake it into an image of some kind or cache the installer internally and adjust the URLs.

Hi Coderanger,

What I’m looking for is to adjust the URLs. Where can I change it?



If I understand you correctly, you want to change the location from which
the omnibus installer is downloaded. You can change this in the Kitchen
config under the provisioner options with the ‘chef_omnibus_url’ option.

More Information:

That’s it. Thanks!