Error in installing module

asked 2015-03-04 22:41:20 -0600

koushik gravatar image

updated 2015-03-05 18:28:45 -0600

GregLarkin gravatar image

Here am facing this problem

[root@learning ~]# puppet module install puppetlabs-apache
Notice: Preparing to install into /etc/puppetlabs/puppet/environments/production/modules ...
Notice: Downloading from ...
Error: Could not connect to
  There was a network communications problem
    The error we caught said 'getaddrinfo: Name or service not known'
    Check your network connection and try again
edit retag flag offensive close merge delete


Do you have outbound connectivity and proper DNS resolution from that machine? Can you successfully run the command "ping"?

GregLarkin gravatar imageGregLarkin ( 2015-03-05 18:30:19 -0600 )edit

I'm getting the same error and no, I can't ping , this is because I'm in the office working via an http proxy. I can do: curl -v this shows DNS is resolving OK and I have access

vw gravatar imagevw ( 2016-03-11 12:44:35 -0600 )edit

vw gravatar imagevw ( 2016-03-11 12:48:55 -0600 )edit