From ffbf8b5a962b4d60881bd2d92e6ce9c6fd71cb54 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 23 Apr 2021 08:55:25 -0300 Subject: Fix: disable mod_php 8.0 for series5 and 7 --- manifests/series5.pp | 5 +++++ manifests/series7.pp | 5 +++++ 2 files changed, 10 insertions(+) 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" ]: -- cgit v1.2.3