1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
class php::params {
$version8 = $::lsbdistcodename ? {
'bookworm' => '8.4',
default => '8.4',
}
$version8_previous = $::lsbdistcodename ? {
'bookworm' => [ '8.3', '8.2', '8.1', '8.0' ],
default => [ '8.3', '8.2', '8.1', '8.0' ],
}
$version7 = $::lsbdistcodename ? {
'bookworm' => '7.4',
'bullseye' => '7.4',
'buster' => '7.4',
'stretch' => '7.4',
default => '7.4',
}
$version7_previous = $::lsbdistcodename ? {
'bookworm' => [ '7.3', '7.2', '7.1', '7.0' ],
'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',
}
}
|