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

Module tool on ruby 2.1.9 gives cryptic error when downloading a PE only module with no license file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: PMT
    • Labels:
      None
    • Template:
    • Team:
      Puppet Developer Experience
    • Method Found:
      Inspection
    • QA Risk Assessment:
      Needs Assessment

      Description

      On a system without a license file in /etc/puppetlabs/license.key I tried to download the PE only sqlserver module. Here's what happened next:

      puppet module install puppetlabs-sqlserver
      Notice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...
      Notice: Downloading from https://forgeapi.puppet.com ...
      Error: bad URI(is not URI?): /v3/releases?module=puppetlabs-sqlserver&module_groups=base pe_only
      Error: Try 'puppet help module install' for usage
      

      It seems like the error message good be improved here. This gives me no clues that the module exists or is PE only or that I need a valid license to install it.

        Attachments

          Activity

            People

            Assignee:
            joel.allen Joel Allen
            Reporter:
            matthaus Past Haus
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support