|
PUP-620
added an install_options parameter to the gem provider which can be used to specify a proxy:
package { 'puppet-lint': ensure => latest, provider => 'gem', install_options => [
Unknown macro: {'--http-proxy' => 'http}
], }
This works fine on the the original run where the gem is installed. However, on subsequent runs the puppet agent will hang since the gem list command does not pass in the install options (proxy):
Debug: Executing: '/bin/gem list --local' Debug: Executing: '/bin/gem list --remote ^puppet-lint
At this point the puppet agent will hang until killed.
|