aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-07-11 11:57:41 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-07-11 11:57:41 -0300
commit58ed8a3b0202a400fe16b520ec6dbdf975b5e042 (patch)
tree79f529c4b4955dcdab427503958c30153d6e5abb /manifests
parent7952643b01ce91646c0fcc64341ddabd15038dbe (diff)
downloadpuppet-php-58ed8a3b0202a400fe16b520ec6dbdf975b5e042.tar.gz
puppet-php-58ed8a3b0202a400fe16b520ec6dbdf975b5e042.tar.bz2
New php-xdebug package name
Diffstat (limited to 'manifests')
-rw-r--r--manifests/dev.pp10
1 files changed, 9 insertions, 1 deletions
diff --git a/manifests/dev.pp b/manifests/dev.pp
index c2b25ad..5ebb8c2 100644
--- a/manifests/dev.pp
+++ b/manifests/dev.pp
@@ -1,8 +1,16 @@
class php::dev {
- package { [ 'php5-xdebug', 'phpunit' ]:
+ package { 'phpunit':
ensure => present,
}
+ package { 'php-xdebug':
+ name => $::lsbdistcodename ? {
+ 'wheezy' => 'php5-xdebug',
+ default => 'php-xdebug',
+ },
+ ensure => installed,
+ }
+
# Jessie onwards
package { 'phpunit-git':
ensure => $::lsbdistcodename ? {