scrooloose/syntastic — pull request #377 by pforman (2012-10-06 23:05:10+00:00)
Title: Fix puppet parser validation for puppet 3.0.0 (and versions 2.61-2.7.9)

The error message in 'puppet parser validate' changed between Puppet 2.x
and Puppet 3.0.0, preventing syntax errors from being caught.

In addition, the logic to apply the "--ignoreimport" flag was falsely triggering
on 3.0.0, because it was written assuming a major version of "2". The
--ignoreimport flag has been broken since 2.6.1, so I removed all of that
logic. In theory, it could be re-added for 2.6.0 and 0.2x.x, but the
version number checking already didn't handle 0.2x.x, so I didn't reach back
that far.