puppetlabs-toy-chest / puppetlabs-puppetserver_gem

This module provides management of Ruby gems for Puppet Server.
3 stars 23 forks source link

$HOME environment variable is unset #8

Closed robbyt closed 6 years ago

robbyt commented 8 years ago

I'm using this module with a proxy server, and we're adding proxy credentials to the file $HOME/.gemrc.

However, when this module is used, the agent looks for gem configuration at /.gemrc because the $HOME environment variable is unset.

I'm not sure what the best fix is for this. We've created a symlink from /.gemrc -> /root/.gemrc