Project

General

Profile

Actions

Feature #19254

closed

Enforce supported Puppet versions in module metadata

Added by Dominic Cleal about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Puppet module metadata allows for a "requirements" field, listing supported versions of Puppet with a semantic version range (https://tickets.puppetlabs.com/browse/DOCUMENT-387), e.g.

  "requirements": [
    {
      "name": "puppet",
      "version_requirement": ">= 4.6.1 < 5.0.0" 
    }
  ],

This is usually used when installing modules, but Kafo could enforce it in a similar way to system checks, ensuring that the version of Puppet installed matches the module's supported environments. This would prevent obscure or subtle errors for users.

Actions

Also available in: Atom PDF