Chef-solo, proxies and Windows


#1

Hi Chefs, I’ve written some windows stuff and now trying to test it inside
a client’s environment. I am wondering about proxies and windows.

chef-solo vs chef-client: In the client documentation, the http_proxy
settings are only labeled as good for chef-client, not chef solo. Is that
actually true? I have tried to insert the settings in the solo.rb and this
has failed for me, but I haven’t tried too hard in the past because in
Linux I always had env variables and apt-proxy settings, etc to fall back
on.

Windows command line proxy: Does anyone know if there a way to set a proxy
on the command line in windows? My googling has failed me.

At least with windows it’s easier to know which files I need and make them
accessible internally, but a proxy setting that worked would be awfully
nice.

Sascha


#2

you can use:

SETX HTTP_PROXY http://xxx.com:8080
SETX HTTPS_PROXY http://xxx.com:8080