Issue #15453 has been updated by Ken Barber.

Status changed from Unreviewed to Needs More Information

Are you sure about this Gary?

Its honoured in the code: 
<https://github.com/puppetlabs/puppet/blob/2.7.x/lib/puppet/forge/repository.rb#L20-54>

And I'm sure I've recently tested this.
----------------------------------------
Bug #15453: Puppet Module Tool should respect http proxies
https://projects.puppetlabs.com/issues/15453#change-66648

Author: Gary Larizza
Status: Needs More Information
Priority: Normal
Assignee: 
Category: module tool
Target version: 
Affected Puppet version: 
Keywords: puppet module tool PMT proxy http_proxy
Branch: 


Filing this bug on behalf of a presales email.  Given the following information:

<pre>
> [root@enxi0003 ~]# head /etc/puppetlabs/puppet/puppet.conf
> [main]
>     vardir = /var/opt/lib/pe-puppet
>     logdir = /var/log/pe-puppet
>     rundir = /var/run/pe-puppet
>     modulepath = 
> /etc/puppetlabs/puppet/modules:/opt/puppet/share/puppet/modules
>     user = pe-puppet
>     group = pe-puppet
>     archive_files = true
>     archive_file_server = enxi0003.eagleaccess.com
>     http_proxy_host = proxy.domain.com
>
> [root@enxi0003 ~]# puppet module install --verbose --debug puppetlabs-ntp
> Preparing to install into /etc/puppetlabs/puppet/modules ...
> Downloading from http://forge.puppetlabs.com ...
> Error: Connection timed out - connect(2)
> Error: Try 'puppet help module install' for usage
>
> [root@proxy ~]# tail /var/log/squid/access.log
> 1341935727.031    122 10.60.99.93 TCP_MISS/200 1947 GET 
> http://forge.puppetlabs.com/api/v1/releases.json? - DIRECT/74.207.228.89 
> application/json
</pre>

It would appear that the PMT doesn't respect the http_proxy_host setting in 
puppet.conf.  The customer also reported setting the HTTP_PROXY environment 
variable, but the PMT doesn't respect that either.  


-- 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to