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

Puppet module tool should handle invalid paths better

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.6.0
    • Component/s: PMT
    • Labels:
      None
    • Template:
    • Story Points:
      0
    • Sprint:
      Client 2016-07-27

      Description

      When you install a module that contains file paths valid on the platform that it was built on, but not the platform it's being installed on, PMT fails with an inscrutable error. In hindsight, it's obvious, but the error messaging could be better about what went wrong.

      PS C:\Users\Administrator> puppet module install trlinkin/domain_membership
      Notice: Preparing to install into C:/ProgramData/PuppetLabs/code/environments/pr
      oduction/modules ...
      Notice: Downloading from https://forgeapi.puppetlabs.com ...
      Failed to add /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
      Failed to add /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
      Failed to add /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
      Failed to add /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
      Failed to add /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
      Failed to add /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
      Failed to add /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
      Failed to add /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
      Error: Could not install package
        Package attempted to install file into
        "trlinkin-domain_membership-1.1.0/:78" under "C:/Users/ADMINI~1/AppData/Local/
      Temp/cache/tmp20160519-2896-bnlxhg".
      

      The problem is that :78 is an invalid filename. The actual error is something more like mkdir : The given path's format is not supported.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                ben.ford Ben Ford
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support