Commit Graph

8 Commits

Author SHA1 Message Date
Martin Grenfell
258812abc0 puppet: fix the puppet version number extraction
fix a bug where the version number had a newline after the last version
number component e.g. 2.7.9\n
2012-02-08 23:29:50 +00:00
Martin Grenfell
2f796a7ca1 puppet: fix indenting - make it consistent at 4 spaces 2012-02-08 13:41:37 +00:00
Martin Grenfell
b4e7f8598a puppet checker: only check the version once
Previously it was calling `system()` to check the puppet version on
every syntax check. Now we do this only once and cache the result.
2012-02-08 13:40:02 +00:00
S. Zachariah Sprackett
d0a7546f1e Make this work with releases > 2.7 2012-02-07 11:27:32 -05:00
S. Zachariah Sprackett
4b0888740e Need this on new puppet as well 2011-11-24 22:48:56 -05:00
S. Zachariah Sprackett
239aed5c09 Add --ignoreimport to puppet parse 2011-11-23 14:59:07 -05:00
Roman Gonzalez
50e99cc2c1 Improving the puppet syntax checker.
The current implementation only supports puppet < 2.6, when using
2.7.x it will complain all the time saying that the executable to check
syntax has changed. With this patch, it will work for version <= 2.7.x
2011-08-09 22:19:47 -07:00
Eivind Uggedal
e71df80fa1 Syntax checker for Puppet manifests. 2011-04-28 08:48:54 +02:00