-
-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using proxy_server and/or proxy_port has no effect on Windows #277
Comments
|
Can you try setting This line puppet-archive/lib/puppet/type/archive.rb Line 260 in 36e1a9b
proxy_type based on proxy_server instead of source.
|
|
Hi Alex, Thank you for the fast response. |
|
So on windows this uses the ruby provider, and per stdlib, it's suppose to honor the environment settings:
Please add a few
This is most likely windows specific and we may need to switch to the explicit proxy declaration instead depending on the ENV var behavior. |
|
Earlier today, I tried the ruby provider out on Linux and also observed the proxy settings didn't work. This was for an http url with an http proxy (no https anywhere). Not sure at what point the environment variable stopped working (I'm assuming it did work at some point!). I tried puppet 3 on ruby 2.1 and puppet 4 on 2.3 IIRC. |
|
What is the next step? Is there anything you want me to do in regards to this issue. Also, the remark was pointed at me @nanliu ? |
|
@TeunRoefs, based on documentation, I replace ENV with specific flags in PR #280. I wanted to provide a quick test patch, so I didn't get a chance to test locally. Let me know if that fixes this issue. |
|
@nanliu Put a comment on your PR on the line that needs to be fixed. After changing the way the extra parameters are called in Net::HTTP.start() the Proxy server is working. |
|
@alexjfisher What is the release sequence of the puppet-archive module? Kinda need the functionality in PR #280 created by @nanliu Is there anything you guys want me to do? |
|
Tested - works fine. Could we get this merged to master please? |
|
Closed per #280. |
Change how ruby proxy is invoked.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
Absolutely no traffic is going through our proxy in regards to the above configuration. The exact configuration is working on Linux (Debian/RedHat).
File is download without going through proxy.
What behaviour did you expect instead
A CONNECT log event connecting to live.sysinternals.com that allowed the download and archiving of the SysinteralsSuite.zip file.
Any additional information you'd like to impart
If there are any more questions I am happy to provide extra information.
The text was updated successfully, but these errors were encountered: