Puppet-lint

Check your Puppet manifests for style guide conformity.

Visit Website →

Overview

Puppet-lint is a static analysis tool that checks Puppet manifests (.pp files) for compliance with the recommended Puppet language style guide. It helps enforce consistency and readability in Puppet codebases, identifying everything from whitespace issues to more complex structural problems.

✨ Key Features

  • Checks against the official Puppet style guide
  • Extensive set of built-in checks
  • Plugin support for custom checks
  • Can automatically fix many common issues
  • CI/CD and editor integration

🎯 Key Differentiators

  • Focuses on style and best practices, not just syntax.
  • Highly extensible with a simple plugin architecture.
  • Autofixing capabilities save developer time.

Unique Value: Ensures Puppet code is clean, consistent, and maintainable by automatically enforcing community style standards.

🎯 Use Cases (4)

Enforcing a consistent style for Puppet code Improving the maintainability of Puppet manifests Automating code quality checks for Puppet projects Onboarding new developers to Puppet best practices

✅ Best For

  • Running `puppet-lint` on a directory of manifests as part of a CI job to enforce style.
  • Using the `--fix` flag to automatically correct whitespace and quoting issues across a codebase.

💡 Check With Vendor

Verify these considerations match your specific requirements:

  • Scanning non-Puppet IaC
  • Checking for security vulnerabilities in infrastructure configuration
  • Validating the functional correctness of Puppet code

🏆 Alternatives

puppet parser validate

While `puppet parser validate` checks for valid syntax, puppet-lint goes much further by enforcing stylistic conventions that make code easier to read and manage over time.

💻 Platforms

CLI

✅ Offline Mode Available

🔌 Integrations

Vim Emacs TextMate Atom Jenkins

💰 Pricing

Contact for pricing
Free Tier Available

Free tier: Fully open-source and free.

Visit Puppet-lint Website →