Issue #19547 has been updated by Alexandre De Dommelin.

Branch set to  https://github.com/puppetlabs/puppet/pull/1761

----------------------------------------
Bug #19547: Forge Module Download does not observer HTTP Proxy Credentials
https://projects.puppetlabs.com/issues/19547#change-94643

* Author: Kyle C
* Status: In Topic Branch Pending Review
* Priority: Normal
* Assignee: Alexandre De Dommelin
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: http proxy environment
* Branch:  https://github.com/puppetlabs/puppet/pull/1761
----------------------------------------
We are unable to download forge modules behind an http proxy that requires 
authentication even though credentials are stored in http_proxy environment 
which is observed in standard ruby and other tools.

Forge repository code reads proxy host and port correctly, but ignores 
authentication credentials that may also be set in the http_proxy environment 
variable.

https://github.com/puppetlabs/puppet/blob/2.7.x/lib/puppet/forge/repository.rb#L67

Net::HTTP::Proxy class takes user and password as additional arguments, but 
these are not being used by the forge repository code, which causes the problem.

http://ruby-doc.org/stdlib-1.8.7/libdoc/net/http/rdoc/Net/HTTP.html#method-c-Proxy

The result is that we always get HTTP Error 407 Proxy authentication required 
when attempting to use Forge.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to