diff options
author | Michael Scherer <misc@mageia.org> | 2011-06-02 13:00:50 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-06-02 13:00:50 +0000 |
commit | bbcf027456250ed4473e96c5517a6f37278d1b66 (patch) | |
tree | 0362971a2e2f7abeacefb8222b261455c8724d46 | |
parent | daa4ebb45a356e3f2f8fbe113948d248a67641d5 (diff) | |
download | puppet-bbcf027456250ed4473e96c5517a6f37278d1b66.tar puppet-bbcf027456250ed4473e96c5517a6f37278d1b66.tar.gz puppet-bbcf027456250ed4473e96c5517a6f37278d1b66.tar.bz2 puppet-bbcf027456250ed4473e96c5517a6f37278d1b66.tar.xz puppet-bbcf027456250ed4473e96c5517a6f37278d1b66.zip |
add syntax check for php
-rw-r--r-- | modules/subversion/manifests/init.pp | 4 |
1 files changed, 4 insertions, 0 deletions
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" + } } |