I'm trying to run a puppet manifest which depends on the target machine having proxy settings to access the Internet.
I haven't been able to pass http_proxy_host as Puppet suggests (I believe its a bug?).
I've tried to update .bashrc on my Debian box (through the puppet manifest) though I'm not sure how to get the settings to take the first time round.
Instead I believe a solution would be to set/pass the env var http_proxy however I'm not sure how/where to do this with Vagrant.
https://groups.google.com/d/msg/puppet-users/2aivOoYHwZ0/rjRkJx1zdjQJ suggests using a wrapper like so...
#!/bin/bash
export http_proxy=my.proxy
puppet apply "$@"
I'm not 100% sure where to do this, or if this is the best solution.
Surely I'm not the only one trying to use Vagrant/Puppet & Proxies?