From: Silvio Rhatto Date: Fri, 9 Oct 2015 18:09:14 +0000 (-0300) Subject: Adds php::dev and php5-sqlite X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ea0a1fbe24b6b979d5eceef94514284aaabae334;p=puppet-php.git Adds php::dev and php5-sqlite --- 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, }