Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-6859

PMT does not display forge json errors when installing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: PMT
    • Labels:
    • Template:
    • Team:
      Platform Core

      Description

      with puppet 3.7.4 pmt is not displaying the proper error from forge on the command line.

      puppet module install nonamespace
      Notice: Preparing to install into /etc/puppet/modules ...
      Notice: Downloading from https://forgeapi.puppetlabs.com ...
      Error: Request to Puppet Forge failed.
        The server being queried was https://forgeapi.puppetlabs.com/v3/releases?module=nonamespace
        The HTTP response we received was '400 Bad Request'
      

      The response from forge is:

      {
      errors: [
      "'nonamespace' is not a valid full modulename"
      ]
      }
      

      This message should be displayed to the user.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            alex Alex Dreyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support