aboutsummaryrefslogtreecommitdiff
path: root/manifests/params.pp
blob: 6c2bb0318c40041d763c2e5be80cc857d845314a (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::params {
  $version7 = $::lsbdistcodename ? {
    'buster'  => '7.4',
    'stretch' => '7.4',
    default   => '7.4',
  }

  $version7_previous = $::lsbdistcodename ? {
    'buster'  => [ '7.3', '7.2', '7.1', '7.0' ],
    'stretch' => [ '7.3', '7.2', '7.1', '7.0' ],
    default   => [ '7.3', '7.2', '7.1', '7.0' ],
  }

  $version5 = $::lsbdistcodename ? {
    'bionic'  => '5.6',
    'xenial'  => '5.6',
    'trusty'  => '5.6',
    'buster'  => '5.6',
    'stretch' => '5.6',
    default   => '5.6',
  }
}