From 4a59356f644f9a9d809603584c7cdcdf4eef8628 Mon Sep 17 00:00:00 2001
From: Nils Olof Paulsson <nils.olof.paulsson@liu.se>
Date: Mon, 13 Jul 2020 20:40:26 +0200
Subject: [PATCH] Change 70 -> 74

---
 manifests/init.pp     | 10 +++++-----
 manifests/remirepo.pp |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/manifests/init.pp b/manifests/init.pp
index 6b65092..550b4a5 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -63,18 +63,18 @@ class aim_control(
   include ::aim_control::remirepo
 
   class { '::apache::mod::php':
-    package_name => 'php70',
+    package_name => 'php74',
   }
   include ::apache::mod::rewrite
 
   package {
-    'php70-php-pdo':
+    'php74-php-pdo':
       ensure => installed;
-    'php70-php-mbstring':
+    'php74-php-mbstring':
       ensure => installed;
-    'php70-php-mysqlnd':
+    'php74-php-mysqlnd':
       ensure => installed;
-    'php70-php-common':
+    'php74-php-common':
       ensure => installed;
   }
 
diff --git a/manifests/remirepo.pp b/manifests/remirepo.pp
index 1851243..3f6d8dc 100644
--- a/manifests/remirepo.pp
+++ b/manifests/remirepo.pp
@@ -9,7 +9,7 @@ class aim_control::remirepo(
   }
 
   exec { 'enable remi' :
-    command     => 'yum-config-manager --enable remi-php70',
+    command     => 'yum-config-manager --enable remi-php74',
     path        => ['/bin',  '/usr/bin' ],
     refreshonly => true,
     creates     => '/opt/remi',
-- 
GitLab