metadata-json-lint(1)
π metadata-json-lint β the manual, but make it cute π
okay bestie, welcome to metadata-json-lint(1), from the General Commands Manual section. yes this is a real manual page, no I did not make it up, and yes we're gonna get through it together. grab a snack π
β¨ NAME β¨
metadata-json-lint β validate and lint metadata.json files in Puppet modules. it's giving "your Puppet module's vibe check" fr fr π
π SYNOPSIS π
metadata-json-lint [options] <path>
that's it. that's the whole shape of it. options first, path at the end. iconic. π
π¦ DESCRIPTION π¦
so the tea is: metadata-json-lint validates and lints the metadata.json files inside your Puppet modules. it checks them against the style guidelines from the Puppet Forge module metadata recommendations. it's like a bestie who reads your homework and is like "honeyβ¦ this part? no." π but in a helpful way!!
and here's the fun part β you can run it as a binary command (the way we're doing here), or you can use it as a rake task. the rake task instructions live in the project's README.md file. go read it, it's right there. π
πΈ OPTIONS πΈ
one bullet per option, all of them, no skips, we do not leave the group chat on read:
[no-]strict-dependenciesβ whether to fail if your module version dependencies are open-ended. defaults tofalse. so like, by default it's chill about it, but you can make it strict.[no-]strict-licenseβ whether to fail on the strict license check. defaults totrue. yeah bestie, this one's already on. π[no-]fail-on-warningsβ whether to fail on warnings. defaults totrue. a warning is basically a soft fail here, periodt.[no-]strict-puppet-versionβ whether to fail if your Puppet version requirements are open-ended or no longer supported. defaults tofalse. off by default, turn it on if you're feeling brave β¨
π₯ EXAMPLES π₯
test a metadata.json file. that's the whole move:
$ metadata-json-lint /path/to/metadata.json
see? path in, vibes checked, done. π«Ά
π SEE ALSO π
go here for the actual Puppet docs about writing a metadata.json file:
https://docs.puppet.com/puppet/latest/modules_publishing.html#write-a-metadatajson-file
heads up, in the original it's line-wrapped across two lines, but it's one single URL. don't come for me π
π§ AUTHOR π§
Gabriel Filion wrote this. thank you Gabriel, we appreciate you, no cap π
that's the page, bestie!! it's from 2020, and it belongs to the metadata-json-lint(1) manual. main character energy, honestly. go lint something and slay πβ¨ππ¦πΈ
π¦ where this page comes from
- ubuntu resolute: metadata-json-lint 5.0.0-1 Β· Apache-2.0
- ubuntu stonking: metadata-json-lint 5.0.0-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms