Search code examples
vagrantpuppetvagrant-provision

Installing puppetlabs/apt fails with '302 Found'


So I have a vagrant / puppet setup for my project* and am running Ubuntu 14.04 on it. It just broke, without changing anything. puppet module install puppetlabs-apt inside the VM fails with the following lines:

Error: Could not execute operation for 'puppetlabs/apt'
The server being queried was https://forge.puppetlabs.com
The HTTP response we received was '302 Found'
Check the author and module names are correct.

I'm using this module for quite some time and it seems like it just stopped working for no reason. Any advice appreciated.

-- Edit: answer question running it with --debug doesn't help much I guess

 Notice: Preparing to install into /home/vagrant/.puppet/modules ...
 Notice: Created target directory /home/vagrant/.puppet/modules
 Notice: Downloading from https://forge.puppetlabs.com ...
 Error: Could not execute operation for 'puppetlabs/apt'
 The server being queried was https://forge.puppetlabs.com
 The HTTP response we received was '302 Found'
 Check the author and module names are correct.

*Link: https://github.com/dwalldorf/owTracker vagrant up / vagrant ssh and puppet module install puppetlabs-apt


Solution

  • This should be fixed. You can check FORGE-327 for more information