Modified: puppet/modules/subversion/manifests/init.pp =================================================================== --- puppet/modules/subversion/manifests/init.pp 2010-11-19 00:55:03 UTC (rev 317) +++ puppet/modules/subversion/manifests/init.pp 2010-11-19 00:57:58 UTC (rev 318) @@ -59,9 +59,24 @@ # - openldap , like named syntax_check{"check_perl": - regexp_ext => ".p[lm]$", + regexp_ext => "\.p[lm]$", check_cmd => "perl -c" } + + syntax_check{"check_puppet": + regexp_ext => "\.pp$", + check_cmd => "puppet --color=false --confdir=/tmp --vardir=/tmp --parseonly" + } + + syntax_check{"check_ruby": + regexp_ext => "\.rb$", + check_cmd => "ruby -c" + } + + syntax_check{"check_puppet_templates": + regexp_ext => "modules/.*/templates/.*$", + check_cmd => "erb -x -T - | ruby -c" + } } # TODO