aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-06-02 13:00:50 +0000
committerMichael Scherer <misc@mageia.org>2011-06-02 13:00:50 +0000
commitbbcf027456250ed4473e96c5517a6f37278d1b66 (patch)
tree0362971a2e2f7abeacefb8222b261455c8724d46 /modules
parentdaa4ebb45a356e3f2f8fbe113948d248a67641d5 (diff)
downloadpuppet-bbcf027456250ed4473e96c5517a6f37278d1b66.tar
puppet-bbcf027456250ed4473e96c5517a6f37278d1b66.tar.gz
puppet-bbcf027456250ed4473e96c5517a6f37278d1b66.tar.bz2
puppet-bbcf027456250ed4473e96c5517a6f37278d1b66.tar.xz
puppet-bbcf027456250ed4473e96c5517a6f37278d1b66.zip
add syntax check for php
Diffstat (limited to 'modules')
-rw-r--r--modules/subversion/manifests/init.pp4
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"
+ }
}