Can anyone confirm that PE 3.0 supports this? I exported $http_proxy correctly, I beleive. $ puppet module search something Notice: Searching *https://forge.puppetlabs.com*<https://forge.puppetlabs.com/>... Error: Could not connect to *https://forge.puppetlabs.com*<https://forge.puppetlabs.com/> There was a network communications problem The error we caught said ''407 "Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )"'' Check your network connection and try again Error: Try ''puppet help module search'' for usage -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
I have the same issue: [root@learn puppet]# puppet module install puppetlabs/java Notice: Preparing to install into /etc/puppetlabs/puppet/modules ... Notice: Downloading from https://forge.puppetlabs.com ... Error: Could not connect to https://forge.puppetlabs.com There was a network communications problem *The error we caught said ''407 "Proxy Authentication Required"''* Check your network connection and try again After some research I found out, that Puppet supports "http_proxy_host" and "http_proxy_port" in puppet.conf. But there doesn''t seem to be any support for proxy authentication with username and password. Does anyone know, if this feature ist planned for one of the upcoming releases? Thanks and best regards! Am Mittwoch, 3. Juli 2013 22:13:52 UTC+2 schrieb root:> > Can anyone confirm that PE 3.0 supports this? I exported $http_proxy > correctly, I beleive. > $ puppet module search something > Notice: Searching *https://forge.puppetlabs.com*<https://forge.puppetlabs.com/>... > Error: Could not connect to *https://forge.puppetlabs.com*<https://forge.puppetlabs.com/> > There was a network communications problem > The error we caught said ''407 "Proxy Authentication Required ( Forefront > TMG requires authorization to fulfill the request. Access to the Web Proxy > filter is denied. )"'' > Check your network connection and try again > Error: Try ''puppet help module search'' for usage > > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/99b749d4-7605-4c26-b5b3-14cfc4995c7a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Felix Frank
2013-Nov-28 15:50 UTC
Re: [Puppet Users] Re: puppet module search using an HTTP proxy
Ad hoc I find at least three bug reports around this issue: http://projects.puppetlabs.com/issues/8281 http://projects.puppetlabs.com/issues/16923 http://projects.puppetlabs.com/issues/19547 Patches are included, try at your own risk. Your mileage may vary, seeing as some of those bugs are old-ish. Cheers, Felix On 11/28/2013 02:45 PM, sradi wrote:> I have the same issue: > > [root@learn puppet]# puppet module install puppetlabs/java > Notice: Preparing to install into /etc/puppetlabs/puppet/modules ... > Notice: Downloading from https://forge.puppetlabs.com ... > Error: Could not connect to https://forge.puppetlabs.com > There was a network communications problem > *The error we caught said ''407 "Proxy Authentication Required"''* > Check your network connection and try again > > After some research I found out, that Puppet supports "http_proxy_host" > and "http_proxy_port" in puppet.conf. But there doesn''t seem to be any > support for proxy authentication with username and password. > Does anyone know, if this feature ist planned for one of the upcoming > releases? > > Thanks and best regards!-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/52976649.6030704%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/groups/opt_out.
Stephen Wallace
2013-Dec-01 03:40 UTC
[Puppet Users] Re: puppet module search using an HTTP proxy
Maybe something as simple as using httpS? The puppet module face requires https when downloading I believe. Try ''export https_proxy=my.proxy.com'' I hope this helps. Stephen -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/d08c7b5f-fb55-4d62-ab50-43557be24169%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Arvind P R
2013-Dec-01 09:41 UTC
[Puppet Users] Re: puppet module search using an HTTP proxy
no Stephen this doesnt work is there any other way of installing puppet modules? through yum? On Sunday, December 1, 2013 9:10:15 AM UTC+5:30, Stephen Wallace wrote:> > Maybe something as simple as using httpS? The puppet module face requires > https when downloading I believe. > > Try ''export https_proxy=my.proxy.com'' > > I hope this helps. > > Stephen > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/5d640621-d1e3-40f2-a3ee-f40db3c7b27a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Don Law
2013-Dec-09 20:23 UTC
Re: [Puppet Users] Re: puppet module search using an HTTP proxy
I tried two of the proposed fixes in github, but neither of them worked. I came up with the following workaround (kludge) that happens to work because our proxy caches the authentication for a little while. Maybe it will help someone out there who is brought here by the magic Google machine: Stuff your proxy password in a variable so it doesn''t get saved in shell history: read pw *type password and hit enter*Now use wget to get the proxy to authenticate you. Obviously, adjust user, proxy url, and port for your environment: export http_proxy=http://yourproxy.yourdomain.com:8080 export https_proxy=http://yourproxy.yourdomain.com:8080 wget --proxy-user=linprox --proxy-password=$pw http://google.com wget --no-check-certificate --proxy-user=yourproxyuser --proxy-password=$pw https://google.com Then you can do puppet module search and puppet module install until your cached credentials expire. FWIW -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/31572075-e596-4a6b-b1e6-d14803c412cb%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.