From ea0a1fbe24b6b979d5eceef94514284aaabae334 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 9 Oct 2015 15:09:14 -0300 Subject: Adds php::dev and php5-sqlite --- manifests/dev.pp | 14 ++++++++++++++ manifests/init.pp | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 manifests/dev.pp 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, } -- cgit v1.2.3