Closed dfduarte closed 2 years ago
Oh additionally: I know Busser is a RubyGem. Would be good, if the mentioned above is not fixable, at least there is a way to pass a remote ruby gem repository.
We use a local Artifactory server as well, and have a way to use it to get the gems, at least, would be good (os is there a way to do that?)
Hi dfduarte,
Any look with your issue? We are having the same issue with ChefDK 0.10.0
Cheers, Rod
@rguareschi A Chef engineer from my company gave me an alternative solution, that is creating a fixture putting a new file in /etc/profile.d with the proxy, or even inside the cookbook.
As the http_proxy it's a requirement for my demand here, I put it directly as a cookbook_file
during the provisioning. It worked, since Busser opens a new Kitchen SSH session after provisioning the cookbook. For some reason, it worked for me.
But of course, a http_proxy param for busser would be a neater solution
Hi @dfduarte thanks for the follow up. I got it working and my kitchen test is working perfectly now setting 3 lines in the kitchen.yml file as per our friend xsmaster https://github.com/test-kitchen/busser/issues/33
I've added this in the driver declaration:
http_proxy: http://<your_proxy:port>
https_proxy: http://<your_proxy:port>
no_proxy: "<anything_to_bypass>
Have you tried this?
Cheers, Rod
Closing due to inactivity.
If this is still an issue please reopen or open another issue.
Thanks, Test-Kitchen Maintainers
Hello there,
Recently, I started to use Kitchen to make some tests on our cookbooks here. As part of our framework, these cookbooks must be tested on our AWS environment, to assure their reliability and working.
Given that, I made the following kitchen yml file:
Everything works and has been converged, and we need proxy for every installation at this machine, because our instances there aren't exposed to the internet directly.
But, when we hit the Busser installation stage, we got this:
And the installs hangs for good on "installing busser"
I tried a lot of http_proxy combinations on kitchen yml file, but they haven't worked, and Busser's installation behaves as the same way, not using the proxy.
Any suggestions?