tmatilai / vagrant-proxyconf

Vagrant plugin that configures the virtual machine to use proxies
MIT License
531 stars 74 forks source link

Vagrant proxyconf with puppet #136

Closed wawyed closed 5 years ago

wawyed commented 8 years ago

I'm trying to configure Vagrant to use a proxy so I can get puppet to work but after configuring the Vagrantfile I'm getting this error when puppet runs:

The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
==> default: Preparing to install into /etc/puppet/modules ...
==> default: Downloading from http://forge.puppetlabs.com ...
==> default: Error: Could not find release information for this module (willdura
nd/nodejs) (HTTP 407)
==> default: Error: Try 'puppet help module install' for usage

Is there something I'm missing? This is my configuration:

 if Vagrant.has_plugin?("vagrant-proxyconf")
    config.proxy.http     = "http://user:pass@myproxy:8080/"
    config.proxy.https    = "http://user:pass@myproxy:8080/"
    config.proxy.no_proxy = "localhost,127.0.0.1,.example.com"
  end
otahi commented 8 years ago

@wawyed Thank you for reporting!

It seems that the proxy requires authentication but no authentication information.

Can you check the puppet version? Puppetlabs Ticket: Puppet should be able to use authenticated proxies. https://github.com/puppetlabs/puppet/pull/2797 Puppet 3.7.0 or later seems to support authenticated proxies.

codylane commented 5 years ago

Closing issue, not enough details to continue and this issue is old.