DOKK / manpages / debian 12 / metadata-json-lint / metadata-json-lint.1.en
METADATA-JSON-LINT(1) METADATA-JSON-LINT(1)

metadata-json-lint - Validate and lint metadata.json files in Puppet modules

metadata-json-lint [options] <path>

The metadata-json-lint tool validates and lints metadata.json files in Puppet modules against style guidelines from the Puppet Forge module metadata recommendations.

The tool can be used as a binary command, or it can be used as a rake task. See the project's README.md file for instructions on how to use the rake task.

[no-]strict-dependencies

Whether to fail if module version dependencies are open-ended. Defaults to false.

[no-]strict-license

Whether to fail on strict license check. Defaults to true.

[no-]fail-on-warnings

Whether to fail on warnings. Defaults to true.

[no-]strict-puppet-version

Whether to fail if Puppet version requirements are open-ended or no longer supported. Defaults to false.

Test a metadata.json file:

$ metadata-json-lint /path/to/metadata.json


https://docs.puppet.com/puppet/latest/modules_publishing.html#write-a-metadatajson-file

Gabriel Filion

2020