I'm new to Chef, and just trying to get my cookbook up and running, I've referenced the 'aws' cookbook from the supermarket and because of that it reaches out to rubygems. Unfortunately the server on which I'm deploying the Chef-Client for windows will never have internet access, hence the problem...
I've worked out exactly which gems it needs to download, and have installed these on the client box using the 'gem' embedded command that comes when you install the windows Chef client. they end up installed in:
However, on running the first-boot sequence command it still attempts to connect out to rubygems.
I've read through the stacktrace it's not of much help, the only thing of note is this
Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch specs from https://www.rubygems.org/
So something called 'fetcher' is the culprit, but I'm not sure how to stop it / work around it...
If I give the box temporary access to the internet then everything else runs as expected.
Any help would be most appreciated.