Commit Graph

12 Commits

Author SHA1 Message Date
Jos Houtman
ca6a4b23c3 Added puppet-lint support with the use of subtypes 2012-03-20 05:56:51 +01:00
Mikael Fridh
f4a2433c16 puppet: enable --storeconfigs on 2.7
without --storeconfigs it's going to complain alot if you have any imported
resources in your manifests.
2012-02-14 10:15:17 +01:00
Martin Grenfell
cb6205254e puppet: update errorformat to ignore a general message
The checker was always outputting this if syntax errors were detected:
    err: Try 'puppet help parser validate' for usage,

So just ignore it. See #157
2012-02-13 09:55:43 +00:00
Martin Grenfell
6d34c70713 puppet: skip --ignoreimport for versions >= 2.7.10
This option was removed in 2.7.10 - as noted in #157.
2012-02-13 09:55:43 +00:00
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