Uploaded image for project: 'Puppet Forge'
  1. Puppet Forge
  2. FORGE-327

Puppet 3.5 and older can't redirect from API v1 on forge.puppetlabs.com

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: None
    • Labels:
      None
    • Environment:

      Puppet 3.4.3

    • Template:

      Description

      Puppet versions prior to 3.6.0 use API v1 at https://forge.puppetlabs.com/v1/, but this breaks since the site began redirecting to forge.puppet.com. The installation commands fail with:

      # puppet module install puppetlabs/ntp
      Notice: Preparing to install into /etc/puppet/modules ...
      Notice: Downloading from https://forge.puppetlabs.com ...
      Error: Could not execute operation for 'puppetlabs/ntp'
        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.
      

      Passing --module_repository https://forge.puppet.com/ is a workaround.

      If URLs beneath /api/v1 (such as https://forge.puppetlabs.com/api/v1/releases.json?module=puppetlabs-ntp) didn't redirect, this would fix the issue for these old clients.

      This seems to be affecting a few users:

      I've also submitted a bug to Ubuntu as 14.04's shipped Puppet version is 3.4.3 and is affected by this issue: https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1594316

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                joanna Joanna Rothchild
                Reporter:
                domcleal Dominic Cleal
              • Votes:
                3 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: