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

Missing the dependencies key in metadata.json breaks puppet module tool

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Modules, PMT
    • None

    Description

      The Problem

      If the metadata.json file is missing a dependencies key it renders the puppet module tool inoperable. By extension any spec tests that use forge modules also break.

      root@master:~ # puppet module list
      Error: No dependencies module metadata provided for pe_inifile
      Error: No dependencies module metadata provided for pe_inifile
      Error: Try 'puppet help module list' for usage
      

      The workaround

      Adding "dependencies": [] to metadata.json will make it work.

      The Suggested Solution

      PMT should handle the case where the dependencies key is missing better.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ben.ford Ben Ford
            Eric Thompson Eric Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support