From bbcf027456250ed4473e96c5517a6f37278d1b66 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 2 Jun 2011 13:00:50 +0000 Subject: add syntax check for php --- modules/subversion/manifests/init.pp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/subversion/manifests/init.pp') diff --git a/modules/subversion/manifests/init.pp b/modules/subversion/manifests/init.pp index f7acbbe7..0fba89ab 100644 --- a/modules/subversion/manifests/init.pp +++ b/modules/subversion/manifests/init.pp @@ -114,6 +114,10 @@ class subversion { check_cmd => "msgfmt -c -" } + syntax_check{"check_php": + regexp_ext => "\.php$", + check_cmd => "php -l" + } } -- cgit v1.2.1