aboutsummaryrefslogtreecommitdiff
path: root/manifests/params.pp
blob: 155a5c1cc4a87be4208addbb85cc5c3411907b92 (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',
    'stretch' => '7.3',
    default   => '7.3',
  }

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