voxpupuli / metadata-json-lint

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

Try to use the vendored semantic_puppet before requiring the gem #96

Closed rodjek closed 6 years ago

rodjek commented 6 years ago

Currently metadata-json-lint doesn't attempt to use the vendored SemanticPuppet in Puppet, even if it exists. This PR expands on the loader logic to handle the different possibilities of require SemanticPuppet/Semantic (depending on the version of Puppet available).

ekohl commented 6 years ago

Thanks @rodjek! Removes an annoyance I had.