diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-06-22 18:27:05 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-06-22 18:27:05 -0300 |
commit | 567d81c23d9a5f09658c09c3666d7a6f65b34f18 (patch) | |
tree | 92f9ec9e16db4c448b969feab383f0c73ae71df9 /manifests/params.pp | |
parent | bcf5086deca96bf802a8fbf83aceca1b5a5135c3 (diff) | |
download | puppet-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.pp | 9 |
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', + } +} |