Adding the caps as in HTTP_PROXY to the environment variables also helped.
Thanks you for the helpful link.
On Thursday, April 12, 2012 8:16:38 AM UTC+2, niraj wrote:
Hi All,
I am getting the following err while looking up for this command
# puppet-module search iptables
sudo puppet-module search iptables
=====================================
Searching http://forge.puppetlabs.com
-------------------------------------
/usr/lib/ruby/1.8/net/http.rb:560:in `initialize': Connection timed
out - connect(2) (Errno::ETIMEDOUT)
from /usr/lib/ruby/1.8/net/http.rb:560:in `open'
from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
from /usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
from /usr/lib/ruby/1.8/timeout.rb:93:in `timeout'
from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
from /usr/lib/ruby/1.8/net/http.rb:542:in `start'
from /usr/lib/ruby/1.8/net/http.rb:440:in `start'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/bin/../
lib/puppet/module/tool/repository.rb:39:in `read_contact'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/bin/../
lib/puppet/module/tool/repository.rb:33:in `contact'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/bin/../
lib/puppet/module/tool/applications/searcher.rb:15:in `run'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/bin/../
lib/puppet/module/tool/applications/application.rb:10:in `run'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/bin/../
lib/puppet/module/tool/cli.rb:75:in `search'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/vendor/
thor-852190ae/lib/thor/task.rb:33:in `send'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/vendor/
thor-852190ae/lib/thor/task.rb:33:in `run'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/vendor/
thor-852190ae/lib/thor/invocation.rb:109
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/vendor/
thor-852190ae/lib/thor/invocation.rb:116:in `call'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/vendor/
thor-852190ae/lib/thor/invocation.rb:116:in `invoke'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/vendor/
thor-852190ae/lib/thor.rb:137:in `start'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/vendor/
thor-852190ae/lib/thor/base.rb:378:in `start'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/vendor/
thor-852190ae/lib/thor.rb:124:in `start'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/bin/
puppet-module:7
from /usr/bin/puppet-module:19:in `load'
from /usr/bin/puppet-module:19
I work behind a proxy server having user name and pwd. Can you
suggest me all how do i ingest this command to work with proxy..
--Hi All,
I am getting the following err while looking up for this command
# puppet-module search iptables
sudo puppet-module search iptables
=====================================
Searching http://forge.puppetlabs.com
-------------------------------------
/usr/lib/ruby/1.8/net/http.rb:560:in `initialize': Connection timed
out - connect(2) (Errno::ETIMEDOUT)
from /usr/lib/ruby/1.8/net/http.rb:560:in `open'
from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
from /usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
from /usr/lib/ruby/1.8/timeout.rb:93:in `timeout'
from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
from /usr/lib/ruby/1.8/net/http.rb:542:in `start'
from /usr/lib/ruby/1.8/net/http.rb:440:in `start'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/bin/../
lib/puppet/module/tool/repository.rb:39:in `read_contact'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/bin/../
lib/puppet/module/tool/repository.rb:33:in `contact'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/bin/../
lib/puppet/module/tool/applications/searcher.rb:15:in `run'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/bin/../
lib/puppet/module/tool/applications/application.rb:10:in `run'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/bin/../
lib/puppet/module/tool/cli.rb:75:in `search'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/vendor/
thor-852190ae/lib/thor/task.rb:33:in `send'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/vendor/
thor-852190ae/lib/thor/task.rb:33:in `run'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/vendor/
thor-852190ae/lib/thor/invocation.rb:109
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/vendor/
thor-852190ae/lib/thor/invocation.rb:116:in `call'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/vendor/
thor-852190ae/lib/thor/invocation.rb:116:in `invoke'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/vendor/
thor-852190ae/lib/thor.rb:137:in `start'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/vendor/
thor-852190ae/lib/thor/base.rb:378:in `start'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/vendor/
thor-852190ae/lib/thor.rb:124:in `start'
from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/bin/
puppet-module:7
from /usr/bin/puppet-module:19:in `load'
from /usr/bin/puppet-module:19
I work behind a proxy server having user name and pwd. Can you
suggest me all how do i ingest this command to work with proxy..
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/UR5FOSG84CYJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.