HTTP response we received was '302 Found' when using "puppet module install"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Trusty |
Invalid
|
Medium
|
Unassigned |
Bug Description
The "puppet module" command is now throwing errors when installing modules from the Puppet Forge (https:/
# puppet module install puppetlabs/ntp
Notice: Preparing to install into /etc/puppet/modules ...
Notice: Downloading from https:/
Error: Could not execute operation for 'puppetlabs/ntp'
The server being queried was https:/
The HTTP response we received was '302 Found'
Check the author and module names are correct.
The command should install and unpack the module to /etc/puppet/
As a workaround you can add "--module_
This affects Puppet 3.4.3 on Ubuntu 14.04 (trusty), and any version prior to 3.6.0 which uses the v1 API. Newer versions use the v3 API on forgeapi.
The package should probably be patched to change module_repository to forge.puppet.com in lib/puppet/
# lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
# apt-cache policy puppet
puppet:
Installed: 3.4.3-1ubuntu1.1
Candidate: 3.4.3-1ubuntu1.1
Version table:
*** 3.4.3-1ubuntu1.1 0
500 http://
100 /var/lib/
3.4.3-1 0
500 http://
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: puppet 3.4.3-1ubuntu1.1
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Mon Jun 20 10:19:25 2016
PackageArchitec
ProcEnviron:
TERM=screen-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: puppet
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- HTTP response we received was '404 Not Found' when using "puppet module + HTTP response we received was '302 Found' when using "puppet module install" |
I've also filed a ticket with Puppet to see if the server behaviour can be changed for the old API: https:/ /tickets. puppetlabs. com/browse/ FORGE-327