Skip to content
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

wget proxy implementation incorrect #256

Closed
walkamongus opened this issue Jan 20, 2017 · 2 comments
Closed

wget proxy implementation incorrect #256

walkamongus opened this issue Jan 20, 2017 · 2 comments
Labels
bug Something isn't working

Comments

@walkamongus
Copy link
Contributor

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 4.7.0
  • Ruby: 2.1.9
  • Distribution: Centos
  • Module version: 1.2.0

How to reproduce (e.g Puppet code you use)

just set proxy_server => 'https://example.org:8080' and provider => 'wget'

What are you seeing

The proxy server is passed as --https_proxy=https://example.org:8080 to the wget command. This triggers a returned 2: wget: unrecognized option '--https_proxy=https://example.org:8080' error messages.

What behaviour did you expect instead

I'd expect the following options to be passed to wget: -e use_proxy=yes -e https_proxy=https://example.org:8080

Output log

returned 2: wget: unrecognized option '--https_proxy=https://example.org:8080'
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.

Any additional information you'd like to impart

@bastelfreak
Copy link
Member

Hi @walkamongus, thanks for the PR. Are you able to provide a fix for this?

@walkamongus
Copy link
Contributor Author

Hi @bastelfreak -- I'll try to knock something up this weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants