aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-02-07 19:11:06 -0200
committerSilvio Rhatto <rhatto@riseup.net>2019-02-07 19:11:06 -0200
commita8d0f9d8de4516c4f184083b3ab545ff4206cd30 (patch)
tree6f78cda20649ab6cc54f3cdb1b805ba5d0a98b51
parent45e6fe347ba8391008511474f52b2f69a86903ba (diff)
downloadpuppet-php-a8d0f9d8de4516c4f184083b3ab545ff4206cd30.tar.gz
puppet-php-a8d0f9d8de4516c4f184083b3ab545ff4206cd30.tar.bz2
Distinct PHP 7 version for stretch
-rw-r--r--manifests/params.pp14
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',