The 'puppet-validator' script checks puppet manifests for syntax errors.
Beware, it's only a syntax check. It won't find misspelled properties or even incorrect resource names.