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::Fetch[my_item]: has no parameter named 'http_proxy' on ubuntu #67

Open
MikeCaspar opened this issue Dec 28, 2015 · 4 comments
Open

Comments

@MikeCaspar
Copy link

  • Using the examples provided.
  • Have confirmed that wget works directly from command prompt with same url
  • Have tried adding http_proxy => 'undef' to my wget:fetch
  • module version: 1.7.1
  • ubuntu 14.04
  • bash shell

I would be pleased to set any appropriate variables or environment variables if that is what needs to happen. If so, could this please be reflected in the README ?

@BobVincentatNCRdotcom
Copy link

See #66

@MikeCaspar
Copy link
Author

Sorry for opening a duplicate.

I've tried adding to site.pp as per the new instructions and have also tried the following...

(with and without the hiera lookups).

$http_proxy = undef
$https_proxy = undef
$schedule = undef

Would you prefer to close this issue and just switch to the #66 instead of keeping two open? I can keep an eye there to see what happens next.

Thanks.

@MikeCaspar
Copy link
Author

I figured out a way to get this going (instructions split 1/2 and 1/2).

In site.pp

`
$http_proxy = hiera('http_proxy', undef)

$https_proxy = hiera('https_proxy', undef)
`

In my own module (class)
`
include wget

Wget::Fetch { schedule => undef }
`

Just thought you might like to know. Thanks for the help !

@BobVincentatNCRdotcom
Copy link

See also #68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants