alup / puppet-rbenv

Puppet manifest for rbenv installation
MIT License
139 stars 103 forks source link

puppet-rbenv should support proxy usage #114

Open svenXY opened 9 years ago

svenXY commented 9 years ago

Hi, since most people using puppet are probably behind a proxy, it would be great if the various exec's in your module would allow to set a proxy somehow.

I know that a proxy can be set in puppet.conf or even as environment variables, but that would set the proxy for the whole puppet run including all resources, which is clearly not what I would like to have (or even can ... some resources like e.g. internal repositories fails if connected via proxy).

Unfortunately, your init.pp is empty and collection of losely connected defined types might not easily allow for a proxy to be set with an Exec{} statement somewhere, but maybe you have a better idea?

Cheers, Sven