diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-10-09 15:09:14 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-10-09 15:09:14 -0300 |
commit | ea0a1fbe24b6b979d5eceef94514284aaabae334 (patch) | |
tree | 28215b7df0bd530f20876796b6b3975d4c025e48 | |
parent | a6f2ab33d9db49ec94d02d4d9ad1daa4c1a01f0b (diff) | |
download | puppet-php-ea0a1fbe24b6b979d5eceef94514284aaabae334.tar.gz puppet-php-ea0a1fbe24b6b979d5eceef94514284aaabae334.tar.bz2 |
Adds php::dev and php5-sqlite
-rw-r--r-- | manifests/dev.pp | 14 | ||||
-rw-r--r-- | manifests/init.pp | 2 |
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, } |