puppet-lint

check puppet manifests for style guide conformity

Install

All systems
curl cmd.cat/puppet-lint.sh
Debian Debian
apt-get install puppet-lint
Ubuntu
apt-get install puppet-lint
image/svg+xml Kali Linux
apt-get install puppet-lint
Fedora
dnf install puppet-lint
Windows (WSL2)
sudo apt-get update sudo apt-get install puppet-lint
Raspbian
apt-get install puppet-lint

puppet-lint

check puppet manifests for style guide conformity

Checks your Puppet manifests against the Puppet Labs style guide and alerts you to any discrepancies. This program checks spacing, indentation, whitespace, quoting, conditionals and classes.

rubygem-puppet-lint

with the Puppetlabs style guide