voxpupuli / metadata-json-lint

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

Duplicate testing in requirements list #106

Closed tobias-urdin closed 4 years ago

tobias-urdin commented 4 years ago

The names in the requirements list must be unique otherwise PuppetForge will throw the following message when trying to upload.

Found multiple entries in the 'requirements' list in metadata.json with the name 'puppet'. Entries in the 'requirements' list must have unique 'name' values.

See testing for example.

tobias-urdin commented 4 years ago

Thanks, this might be cleaner and more acceptable. Let me know if you have any feedback.

tobias-urdin commented 4 years ago

I copied the metadata.json test file from duplicate-dep job which is why it had two stdlib, I removed one of those references.

EmilienM commented 4 years ago

LGTM