Looks like I was able to get it to work by executing the export command through a bash script, initiated via puppets exec logic in my puppet manifest. Not the most elegant solution but good enough to get me working.
I had originally tried setting this in ~/.bashrc but with no luck. Now I'm... - doing a straight export http_proxy=... (in my bash script) as well as... - adding to /home/vagrant/.bashrc This way puppet gets the proxy at runtime & if I log in as vagrant I get proxy too. Thanks for pointing me in the right direction! On Monday, October 1, 2012 12:15:23 PM UTC+10, drew khoury wrote: > > Setting the env variable manually does work, however I'm trying to run > puppet via Vagrant, so I wonder where I have to set the http_proxy variable > to get it to work when puppet is loaded via Vagrant. > > > On Monday, October 1, 2012 11:03:25 AM UTC+10, Clarence Beeks wrote: >> >> On Sun, Sep 30, 2012 at 5:36 PM, drew khoury <drew....@gmail.com> wrote: >> >>> Also I tried upgrading puppet and got the same results. >>> >>> vagrant@vagrant-debian-squeeze:/tmp/vagrant-puppet/manifests$ sudo >>> apt-show-versions | grep puppet >>> facter/squeeze uptodate 1.6.12-1puppetlabs2 >>> puppet/squeeze uptodate 2.7.19-1puppetlabs2 >>> puppet-common/squeeze uptodate 2.7.19-1puppetlabs2 >>> puppetlabs-release/squeeze uptodate 1.0-5 >>> >>> >> Try setting it in puppet.conf and with "export http_proxy=...." like in >> this thread: >> http://projects.puppetlabs.com/issues/15453 >> >> >> -- 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/-/9UtdF2mG5MwJ. 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.