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

Puppet Module Tool should validate dependencies

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: PMT
    • Labels:
      None
    • Template:
    • Team:
      Puppet Developer Experience

      Description

      Currently the PMT does very little validation of dependency lists in metadata.json and the Modulefile. It validates that if present, it is in the form of an array.

      It should validate that each dependency:

      • Has a well-formed name (does UTF-8 count?)
      • Has a well-formed version or version range (including "1.0.0", "1.0.0-rc2", "1.x", ">= 1.0 < 2.0.0", and perhaps even "1.x 2.x")
      • Is not already declared as a dependency (ie, duplicated within the metadata.json, or duplicated between the Modulefile and metadata.json).

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            brandon.high Brandon High
            QA Contact:
            Eric Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support