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
[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.
Go to Solution.
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
In addition to keeping with the hypen, I found the following report on HTTPS proxy:
And you need to add the https_proxy variable
Hope this helps!
That was it. I had my http_proxy env var set, but none for https_proxy.
Applied *both* in /etc/profile and it worked like a champ.