voxpupuli / puppet-wget

A puppet recipe for wget, a useful tool to download arbitary files from the web
Apache License 2.0
41 stars 114 forks source link

Wget::Fetch[my_item]: has no parameter named 'http_proxy' on ubuntu #67

Open MikeCaspar opened 8 years ago

MikeCaspar commented 8 years ago

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 commented 8 years ago

See https://github.com/maestrodev/puppet-wget/pull/66

MikeCaspar commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

See also #68