Puppet for Junos OS
Highlighted
Puppet for Junos OS

Cannot install module jeremyschulman-netdev. Possible proxy problem?

‎02-15-2013 01:38 PM

I have puppet installed on a CentOS host, but cannot seem to retrieve the netdev module.   

I thought there was an issue with the proxy, but all my other apps work fine (gem, yum, links) thru the proxy.

 

Here's the symptom:

 

[root@gepetto ~]# echo $http_proxy
http://10.13.110.226:3128

[root@gepetto ~]# grep proxy /etc/puppet/puppet.conf
    http_proxy_host = 10.13.110.226
    http_proxy_port = 3128

[root@gepetto ~]# puppet module search jeremyschulman/netdev
Notice: Searching https://forge.puppetlabs.com ...
NAME                   DESCRIPTION                                                                 AUTHOR           KEYWORDS
jeremyschulman-netdev  Vendor agnostic networking device resource types                            @jeremyschulman  networking

[root@gepetto ~]# puppet module install jeremyschulman-netdev
Notice: Preparing to install into /etc/puppet/modules ...
Notice: Downloading from https://forge.puppetlabs.com ...
Error: Address family not supported by protocol - socket(2)
Error: Try 'puppet help module install' for usage
[root@gepetto ~]#

 

Any ideas ?  This is my first exposure to puppet, so I'm a little helpless here.

 

/doug

--
"There he goes. One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die." --HST
3 REPLIES 3
Highlighted
Puppet for Junos OS

Re: Cannot install module jeremyschulman-netdev. Possible proxy problem?

‎02-15-2013 01:43 PM

Hi Doug,

 

Great to see you working with Puppet.  When you install Puppet modules, you need to use the hyphen (-) and not the slash (/) between the username and the module name:

 

[root@server ~]# puppet module install jeremyschulman-netdev

 

Cheers,

-- Jeremy

Cheers,
-- Jeremy

@nwkautomaniac
Highlighted
Puppet for Junos OS
Solution
Accepted by topic author dmcpherson
‎08-26-2015 01:27 AM

Re: Cannot install module jeremyschulman-netdev. Possible proxy problem?

‎02-15-2013 02:08 PM

Hi Doug,

 

In addition to keeping with the hypen, I found the following report on HTTPS proxy:

 

http://projects.puppetlabs.com/issues/15453

 

And you need to add the https_proxy variable

 

Hope this helps!


Cheers,

-- Jeremy

Cheers,
-- Jeremy

@nwkautomaniac
Highlighted
Puppet for Junos OS

Re: Cannot install module jeremyschulman-netdev. Possible proxy problem?

‎02-15-2013 02:11 PM

Thanks!

That was it.   I had my http_proxy env var set, but none for https_proxy.  

 

<*doh*>

 

Applied *both* in /etc/profile and it worked like a champ.

Onward!

 

/doug

 

--
"There he goes. One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die." --HST
Feedback