aboutsummaryrefslogtreecommitdiff
path: root/manifests/dev.pp
blob: 5ebb8c239842d3d3dc9646c8fd1d8d9b14178912 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
class php::dev {
  package { 'phpunit':
    ensure  => present,
  }

  package { 'php-xdebug':
    name   => $::lsbdistcodename ? {
      'wheezy' => 'php5-xdebug',
      default  => 'php-xdebug',
    },
    ensure => installed,
  }

  # Jessie onwards
  package { 'phpunit-git':
    ensure => $::lsbdistcodename ? {
      'wheezy' => absent,
      default  => present,
    },
  }
}