Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add curl+php code sniffer to CI role

  • Loading branch information...
commit b67d2882a7cb9bb9528972070502d5dd58740ccb 1 parent 16d9e1d
root authored
View
2  manifests/nodes.pp
@@ -22,7 +22,7 @@
include website::pear
}
-node "vm02.kohanaframework.org" {
+node "ci.kohanaframework.org" {
include role::ci
}
View
2  manifests/role/ci.pp
@@ -9,10 +9,12 @@
include php::pear::pdepend
include php::pear::behat
include php::pear::php_pmd
+ include php::pear::php_codesniffer
include php::pear::php_codesniffer_standards_kohana
include php::pear::php_codebrowser
include php::pecl::xdebug
include php::pecl::gd
+ include php::pecl::curl
package {
"role-ci-git":
View
8 modules/php/manifests/pear/php_codesniffer.pp
@@ -0,0 +1,8 @@
+class php::pear::php_codesniffer {
+ package {
+ "PHP_CodeSniffer":
+ provider => "pear",
+ source => "pear",
+ ensure => "1.2.2";
+ }
+}
View
6 modules/php/manifests/pecl/curl.pp
@@ -0,0 +1,6 @@
+class php::pecl::curl {
+ package {
+ "php5-curl":
+ ensure => installed;
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.