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 https://forgeapi.puppetlabs.com ...
Error: Could not connect to https://forgeapi.puppetlabs.com
  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

Comments

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

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

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

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

https://tickets.puppetlabs.com/browse/FORGE-126

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