aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2021-04-23 08:55:25 -0300
committerSilvio Rhatto <rhatto@riseup.net>2021-04-23 08:55:25 -0300
commitffbf8b5a962b4d60881bd2d92e6ce9c6fd71cb54 (patch)
tree2c8da463f2b3bac1654869626c7b1d6e730ffcaf
parent6853093572ef69055e203199bd2a256049dfe7bb (diff)
downloadpuppet-php-ffbf8b5a962b4d60881bd2d92e6ce9c6fd71cb54.tar.gz
puppet-php-ffbf8b5a962b4d60881bd2d92e6ce9c6fd71cb54.tar.bz2
Fix: disable mod_php 8.0 for series5 and 7
-rw-r--r--manifests/series5.pp5
-rw-r--r--manifests/series7.pp5
2 files changed, 10 insertions, 0 deletions
diff --git a/manifests/series5.pp b/manifests/series5.pp
index 1bae654..f0c7cb6 100644
--- a/manifests/series5.pp
+++ b/manifests/series5.pp
@@ -89,5 +89,10 @@ class php::series5(
ensure => absent,
require => Package["libapache2-mod-php${version}"],
}
+
+ apache::module { "php8.0":
+ ensure => absent,
+ require => Package["libapache2-mod-php${version}"],
+ }
}
}
diff --git a/manifests/series7.pp b/manifests/series7.pp
index 559b39a..f28ab9d 100644
--- a/manifests/series7.pp
+++ b/manifests/series7.pp
@@ -47,6 +47,11 @@ class php::series7(
ensure => present,
require => Package["libapache2-mod-php${version}"],
}
+
+ apache::module { "php8.0":
+ ensure => absent,
+ require => Package["libapache2-mod-php${version}"],
+ }
}
file { [ "${folder}", "${folder}/cli", "${folder}/apache2", "${folder}/cli/conf.d", "${folder}/apache2/conf.d" ]: