aboutsummaryrefslogtreecommitdiff
path: root/manifests/params.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-22 18:27:05 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-22 18:27:05 -0300
commit567d81c23d9a5f09658c09c3666d7a6f65b34f18 (patch)
tree92f9ec9e16db4c448b969feab383f0c73ae71df9 /manifests/params.pp
parentbcf5086deca96bf802a8fbf83aceca1b5a5135c3 (diff)
downloadpuppet-php-567d81c23d9a5f09658c09c3666d7a6f65b34f18.tar.gz
puppet-php-567d81c23d9a5f09658c09c3666d7a6f65b34f18.tar.bz2
Support multiple PHP series at the same time, currently only 5 and 7
Diffstat (limited to 'manifests/params.pp')
-rw-r--r--manifests/params.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/params.pp b/manifests/params.pp
new file mode 100644
index 0000000..5585d5b
--- /dev/null
+++ b/manifests/params.pp
@@ -0,0 +1,9 @@
+class php::params {
+ $version7 = '7.2'
+ $version5 = $::lsbdistcodename ? {
+ 'xenial' => '5.6',
+ 'trusty' => '5.6',
+ 'stretch' => '5.6',
+ default => '5',
+ }
+}