voxpupuli / metadata-json-lint

Tool to check the validity of Puppet metadata.json files
Apache License 2.0
29 stars 27 forks source link

Validate puppet version_requirement #99

Closed dhollinger closed 5 years ago

dhollinger commented 6 years ago

Add validation that will parse the puppet version requirement and validate it against the following parameters:

ghoneycutt commented 6 years ago

+1 to the first bit about semver validation.

The second piece should be its own issue.

ekohl commented 6 years ago

It should also check if it has the correct key(s). I've seen requirement vs requirements which is a subtle thing to miss.

dhollinger commented 6 years ago

@ghoneycutt @ekhol - looks like the first bullet is already accounted for in the gem. #100 addresses the second issue