aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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" ]: