]> gitweb.fluxo.info Git - puppet-php.git/commitdiff
Distinct PHP 7 version for stretch
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 7 Feb 2019 21:11:06 +0000 (19:11 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 7 Feb 2019 21:11:06 +0000 (19:11 -0200)
manifests/params.pp

index affd1ee4066bdd3a08b5f7fb8c16d17800f3338c..aa1d85e5c6905f1b769c8ab21ce4ee65804d9e4e 100644 (file)
@@ -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',