Please disregard, I dug deeper into the online docs and discovered that I
> had to set this in a config file and not just rely on the env variables.
>
>
My apologies.. I spoke too soon.
In my puppet.conf, I have:
http_proxy_host=http://user:passw...@proxy-address.tld
http_proxy_port=3128
The proxy info is correct, as I can use wget and apt etc.
Thank you for the assistance.
>
> I'm running puppet in a local VM to do some testing, and all of our
>> systems are behind a proxy. I've got the http_proxy environment variable
>> set properly, but when I try to use puppet module install <foo> it doesn't
>> seem to honor it and can't connect.
>>
>> I used wget to download it, but even when I use modulepath it still tries
>> to connect to the forge and fails.
>>
>> I've tried:
>>
>> sudo puppet module install --modulepath . puppetlabs-stdlib-2.3.3.tar.gz
>> sudo puppet module install --modulepath . puppetlabs/stdlib
>> sudo puppet module install --modulepath . puppetlabs-stdlib
>>
>> I consistently get:
>>
>> Preparing to install into . ...
>> Downloading from http://forge.puppetlabs.com ...
>> Error: Network is unreachable - connect(2)
>> Error: Try 'puppet help module install' for usage
>>
>> According to the documentaion,
>>
>> --modulepath MODULEPATH - Which directories to look for modules
>> in
>> --target-dir DIR | -i DIR - The directory into which modules are
>> installed.
>>
>> but it seems to be trying to install FROM the web into the current
>> directory.
>>
>> I'm using puppet 2.7.16 on Ubuntu 12.04 LTS.
>>
>> What do I need to do to either install it from the local source, or
>> install it manually?
>>
>> Thank you.
>>
>>
--
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/-/PpGEktt5sMMJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.