---
name: "puppet-lint"
section: "1"
platform: "linux"
package: "puppet-lint"
version: "4.3.0-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/puppet-lint"
---

# puppet-lint(1)

Puppet Lint

## NAME

puppet-lint - Puppet Lint

## DESCRIPTION

-

  puppet-lint

-

  Basic Command Line Usage:

-

  puppet-lint \[OPTIONS\] PATH

- PATH

  The path to the Puppet manifest.

-

  Option:

- **--version**

  Display the current version.

- **--no-config**

  Do not load default puppet-lint option files.

- **-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, error or all).

- **--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: %{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.

-

  Checks:

- **--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 the arrow\_on\_right\_operand\_line check.

**--no-autoloader\_layout-check** Skip the autoloader\_layout check.

- **--no-class\_inherits\_from\_params\_class-check**

  Skip the class\_inherits\_from\_params\_class check.

- **--class\_inherits\_from\_params\_class-check**

  Enable the class\_inherits\_from\_params\_class check.

**--no-code\_on\_top\_scope-check** Skip the code\_on\_top\_scope check.

- **--code\_on\_top\_scope-check**

  Enable the code\_on\_top\_scope check.

- **--no-inherits\_across\_namespaces-check**

  Skip the inherits\_across\_namespaces check.

- **--no-names\_containing\_dash-check**

  Skip the names\_containing\_dash check.

- **--no-names\_containing\_uppercase-check**

  Skip the names\_containing\_uppercase check.

- **--no-nested\_classes\_or\_defines-check**

  Skip the nested\_classes\_or\_defines check.

- **--no-parameter\_order-check**

  Skip the parameter\_order check.

- **--no-right\_to\_left\_relationship-check**

  Skip the right\_to\_left\_relationship check.

- **--no-variable\_scope-check**

  Skip the variable\_scope check.

- **--no-slash\_comments-check**

  Skip the slash\_comments check.

- **--no-star\_comments-check**

  Skip the star\_comments check.

- **--no-case\_without\_default-check**

  Skip the case\_without\_default check.

- **--no-selector\_inside\_resource-check**

  Skip the selector\_inside\_resource check.

- **--no-documentation-check**

  Skip the documentation check.

- **--no-unquoted\_node\_name-check**

  Skip the unquoted\_node\_name check.

- **--no-duplicate\_params-check**

  Skip the duplicate\_params check.

- **--no-ensure\_first\_param-check**

  Skip the ensure\_first\_param check.

- **--no-ensure\_not\_symlink\_target-check**

  Skip the ensure\_not\_symlink\_target check.

- **--no-file\_mode-check**

  Skip the file\_mode check.

- **--no-unquoted\_file\_mode-check**

  Skip the unquoted\_file\_mode check.

- **--no-unquoted\_resource\_title-check**

  Skip the unquoted\_resource\_title check.

- **--no-double\_quoted\_strings-check**

  Skip the double\_quoted\_strings check.

- **--no-only\_variable\_string-check**

  Skip the only\_variable\_string check.

- **--no-puppet\_url\_without\_modules-check**

  Skip the puppet\_url\_without\_modules check.

- **--no-quoted\_booleans-check**

  Skip the quoted\_booleans check.

- **--quoted\_booleans-check**

  Enable the quoted\_booleans check.

- **--no-single\_quote\_string\_with\_variables-check**

  Skip the single\_quote\_string\_with\_variables check.

- **--no-variables\_not\_enclosed-check**

  Skip the variables\_not\_enclosed check.

- **--no-variable\_contains\_dash-check**

  Skip the variable\_contains\_dash check.

- **--no-variable\_is\_lowercase-check**

  Skip the variable\_is\_lowercase check.

- **--no-140chars-check**

  Skip the 140chars check.

- **--no-2sp\_soft\_tabs-check**

  Skip the 2sp\_soft\_tabs check.

- **--no-80chars-check**

  Skip the 80chars check.

- **--80chars-check**

  Enable the 80chars check.

- **--no-arrow\_alignment-check**

  Skip the arrow\_alignment check.

- **--no-hard\_tabs-check**

  Skip the hard\_tabs check.

- **--no-space\_before\_arrow-check**

  Skip the space\_before\_arrow check.

- **--no-trailing\_whitespace-check**

  Skip the trailing\_whitespace check.

- **--no-legacy\_facts-check**

  Skip the legacy\_facts check.

- **--no-top\_scope\_facts-check**

  Skip the top\_scope\_facts check.
