PUPPET-LINT(1)
β¨ NAME β¨
puppet-lint β ok bestie, this is the manual page for it, it's PUPPET-LINT(1), and it is genuinely so good at telling you what's wrong with your Puppet manifests π
π DESCRIPTION π
puppet-lint π¦
Basic Command Line Usage, aka the whole vibe in one line:
puppet-lint [OPTIONS] PATH
PATHβ The path to the Puppet manifest. like, the actual file you want checked, periodt.
πΈ Option πΈ
ok so here's every single flag, no skipping, we don't gatekeep π
--versionβ Display the current version. slay, now you know what you're running.--no-configβ Do not load default puppet-lint option files. not me ignoring the config on purpose π-c,--config FILEβ Load puppet-lint options from file.--with-contextβ Show where in the manifest the problem is.--with-filenameβ Display the filename before the warning.--fail-on-warningsβ Return a non-zero exit status for warnings--error-level LEVELβ The level of error to return (warning,errororall).--show-ignoredβ Show problems that have been ignored by control comments--relativeβ Compare module layout relative to the module root-l,--load FILEβ Load a file containing custom puppet-lint checks.--load-from-puppet MODULEPATHβ Load plugins from the given Puppet module path.-f,--fixβ Attempt to automatically fix errors π₯--log-format FORMATβ Change the log format. Overrides--with-filename. The following placeholders can be used, memorize these bestie, they're iconic:%{filename}β Filename without path.%{path}β Path as provided to puppet-lint.%{fullpath}β Expanded path to the file.%{line}β Line number.%{column}β Column number.%{kind}β The kind of message (warning,error).%{KIND}β Uppercase version of%{kind}.%{check}β The name of the check.%{message}β The message.
--jsonβ Log output as JSON--sarifβ Log output as SARIF--codeclimate-report-file FILEβ Save a code climate compatible report to this file--list-checksβ List available check names. go off, see what's out there π
π Checks π
the checks section, aka the main character energy of this whole page β every check can be skipped with its --no-...-check flag, and a few of them can also be turned back on with the non-no- version. iykyk.
--only-checks CHECKSβ A comma separated list of checks that should be run--ignore-paths PATHSβ A comma separated list of patterns to ignore--top-scope-variables VARSβ A comma separated list of allowed top scope variables--no-arrow_on_right_operand_line-checkβ Skip thearrow_on_right_operand_linecheck.--no-autoloader_layout-checkβ Skip theautoloader_layoutcheck.--no-class_inherits_from_params_class-checkβ Skip theclass_inherits_from_params_classcheck.--class_inherits_from_params_class-checkβ Enable theclass_inherits_from_params_classcheck.--no-code_on_top_scope-checkβ Skip thecode_on_top_scopecheck.--code_on_top_scope-checkβ Enable thecode_on_top_scopecheck.--no-inherits_across_namespaces-checkβ Skip theinherits_across_namespacescheck.--no-names_containing_dash-checkβ Skip thenames_containing_dashcheck.--no-names_containing_uppercase-checkβ Skip thenames_containing_uppercasecheck.--no-nested_classes_or_defines-checkβ Skip thenested_classes_or_definescheck.--no-parameter_order-checkβ Skip theparameter_ordercheck.--no-right_to_left_relationship-checkβ Skip theright_to_left_relationshipcheck.--no-variable_scope-checkβ Skip thevariable_scopecheck.--no-slash_comments-checkβ Skip theslash_commentscheck.--no-star_comments-checkβ Skip thestar_commentscheck.--no-case_without_default-checkβ Skip thecase_without_defaultcheck.--no-selector_inside_resource-checkβ Skip theselector_inside_resourcecheck.--no-documentation-checkβ Skip thedocumentationcheck.--no-unquoted_node_name-checkβ Skip theunquoted_node_namecheck.--no-duplicate_params-checkβ Skip theduplicate_paramscheck.--no-ensure_first_param-checkβ Skip theensure_first_paramcheck.--no-ensure_not_symlink_target-checkβ Skip theensure_not_symlink_targetcheck.--no-file_mode-checkβ Skip thefile_modecheck.--no-unquoted_file_mode-checkβ Skip theunquoted_file_modecheck.--no-unquoted_resource_title-checkβ Skip theunquoted_resource_titlecheck.--no-double_quoted_strings-checkβ Skip thedouble_quoted_stringscheck.--no-only_variable_string-checkβ Skip theonly_variable_stringcheck.--no-puppet_url_without_modules-checkβ Skip thepuppet_url_without_modulescheck.--no-quoted_booleans-checkβ Skip thequoted_booleanscheck.--quoted_booleans-checkβ Enable thequoted_booleanscheck.--no-single_quote_string_with_variables-checkβ Skip thesingle_quote_string_with_variablescheck.--no-variables_not_enclosed-checkβ Skip thevariables_not_enclosedcheck.--no-variable_contains_dash-checkβ Skip thevariable_contains_dashcheck.--no-variable_is_lowercase-checkβ Skip thevariable_is_lowercasecheck.--no-140chars-checkβ Skip the140charscheck.--no-2sp_soft_tabs-checkβ Skip the2sp_soft_tabscheck.--no-80chars-checkβ Skip the80charscheck.--80chars-checkβ Enable the80charscheck.--no-arrow_alignment-checkβ Skip thearrow_alignmentcheck.--no-hard_tabs-checkβ Skip thehard_tabscheck.--no-space_before_arrow-checkβ Skip thespace_before_arrowcheck.--no-trailing_whitespace-checkβ Skip thetrailing_whitespacecheck.--no-legacy_facts-checkβ Skip thelegacy_factscheck.--no-top_scope_facts-checkβ Skip thetop_scope_factscheck.
ok that's the whole thing, you ate it up, no crumbs left π
this was puppet-lint version 4.3.0, from March 2025, and yeah it's the PUPPET-LINT(1) manual page π bye bestie, go lint something pretty π¦β¨
π¦ where this page comes from
- debian trixie: puppet-lint 4.3.0-1 Β· MIT
- ubuntu resolute: puppet-lint 4.3.0-1 Β· MIT
- ubuntu stonking: puppet-lint 4.3.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms