aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/dev.pp14
-rw-r--r--manifests/init.pp2
2 files changed, 15 insertions, 1 deletions
diff --git a/manifests/dev.pp b/manifests/dev.pp
new file mode 100644
index 0000000..c2b25ad
--- /dev/null
+++ b/manifests/dev.pp
@@ -0,0 +1,14 @@
+class php::dev {
+ package { [ 'php5-xdebug', 'phpunit' ]:
+ ensure => present,
+ }
+
+ # Jessie onwards
+ package { 'phpunit-git':
+ ensure => $::lsbdistcodename ? {
+ 'wheezy' => absent,
+ default => present,
+ },
+ }
+}
+
diff --git a/manifests/init.pp b/manifests/init.pp
index 83c99fc..aba16c6 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -18,7 +18,7 @@
class php {
# The needed packages: we could also try libapache2-mod-php5filter
- package { [ 'php5', 'php5-mysql', 'php5-cli', 'php5-curl', 'php5-gmp', 'libapache2-mod-php5' ]:
+ package { [ 'php5', 'php5-mysql', 'php5-sqlite', 'php5-cli', 'php5-curl', 'php5-gmp', 'libapache2-mod-php5' ]:
ensure => installed,
}