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

Remove undocumented puppetversion key functionality in module metadata

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 3.7.5, PUP 4.0.0
    • Fix Version/s: PUP 4.2.0
    • Component/s: PMT
    • Labels:
    • Template:
    • Story Points:
      0
    • Release Notes:
      Bug Fix

      Description

      The [validate_puppet_version](https://github.com/puppetlabs/puppet/blob/04a60fbff5dbc0d2a5818c671cecc20032b0fae7/lib/puppet/module.rb#L286) method in the Puppet::Module class will look for `puppetversion` in a module's metadata. It will compare that string (cannot specify array or range) against the running Puppet version and fail to install the module if the running version and the expressed puppetversion don't match.

      We'll need to remove this functionality.

      This ticket is the public reference to this behavior.

      EDIT: We left the accessor and functions associated so as not to make a breaking change. This is only making the check never fail for now.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                anderson Anderson Mills
                QA Contact:
                Eric Thompson
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support