diff options
-rw-r--r-- | manifests/params.pp | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/manifests/params.pp b/manifests/params.pp index affd1ee..aa1d85e 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -1,7 +1,15 @@ class php::params { - $version7 = '7.2' - $version7_previous = [ '7.0' ] - $version5 = $::lsbdistcodename ? { + $version7 = $::lsbdistcodename ? { + 'stretch' => '7.1', + default => '7.2', + } + + $version7_previous = $::lsbdistcodename ? { + 'stretch' => '7.0', + default => '7.0', + } + + $version5 = $::lsbdistcodename ? { 'bionic' => '5.6', 'xenial' => '5.6', 'trusty' => '5.6', |