aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp12
1 files changed, 8 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index c654076..52ac0d4 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -18,8 +18,11 @@
class php($hardened = true) {
case $::lsbdistcodename {
- 'xenial': {
- include php::packages::xenial
+ 'xenial','stretch': {
+ include php::packages::ppa
+ }
+ 'stretch': {
+ include php::packages::dpa
}
default: {
include php::packages::default
@@ -27,8 +30,9 @@ class php($hardened = true) {
}
$folder = $::lsbdistcodename ? {
- 'xenial' => '/etc/php/5.6',
- default => '/etc/php5',
+ 'xenial' => '/etc/php/5.6',
+ 'stretch' => '/etc/php/5.6',
+ default => '/etc/php5',
}
file { [ "${folder}", "${folder}/cli", "${folder}/apache2", "${folder}/cli/conf.d", "${folder}/apache2/conf.d" ]: