Check that your Puppet manifest conform to the style guide

Install It!

$ gem install puppet-lint

Run It!

$ puppet-lint /etc/puppet/modules
foo/manifests/bar.pp - ERROR: trailing whitespace found on line 1
apache/manifests/server.pp - WARNING: variable not enclosed in {} on line 56
...

Fix Them!

$ puppet-lint --fix /etc/puppet/modules
foo/manifests/bar.pp - FIXED: trailing whitespace found on line 1
apache/manifests/server.pp - FIXED: variable not enclosed in {} on line 56
...

Head on over to the checks page to see a description of each check and get some help on how to clear those errors.