aboutsummaryrefslogtreecommitdiff
path: root/manifests/params.pp
blob: 07f4ad11d99d48c5ad38b5ccb9a08c2189aaae46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
class php::params {
  $version7 = $::lsbdistcodename ? {
    'bullseye' => '7.4',
    'buster'   => '7.4',
    'stretch'  => '7.4',
    default    => '7.4',
  }

  $version7_previous = $::lsbdistcodename ? {
    'bullseye' => [ '7.3', '7.2', '7.1', '7.0' ],
    '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',
  }
}