From ef08f945dca6df6bf1377438d2e4846bbf841502 Mon Sep 17 00:00:00 2001
From: saganorenkarlson <sagno626@student.liu.se>
Date: Tue, 4 Jun 2024 20:49:50 +0200
Subject: [PATCH] Uncommented apache and php configs

---
 manifests/init.pp | 38 +++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/manifests/init.pp b/manifests/init.pp
index b0499e8..9b709a2 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -71,27 +71,27 @@ class aim_control (
   }
 
   include aim_control::firewall
-  #include apache
+  include apache
   include liurepo::remi
 
-  # class { 'apache::mod::php':
-  #   package_name => 'php74',
-  #   php_version  => '7',
-  # }
-  # include apache::mod::rewrite
-
-  # package {
-  #   'php74-php-pdo':
-  #     ensure => installed;
-  #   'php74-php-mbstring':
-  #     ensure => installed;
-  #   'php74-php-mysqlnd':
-  #     ensure => installed;
-  #   'php74-php-common':
-  #     ensure => installed;
-  #   'php74-php':
-  #     ensure => installed;
-  # }
+  class { 'apache::mod::php':
+    package_name => 'php74',
+    php_version  => '7',
+  }
+  include apache::mod::rewrite
+
+  package {
+    'php74-php-pdo':
+    ensure => installed;
+    'php74-php-mbstring':
+    ensure => installed;
+    'php74-php-mysqlnd':
+    ensure => installed;
+    'php74-php-common':
+    ensure => installed;
+    'php74-php':
+    ensure => installed;
+  }
 
   # file { '/etc/httpd/modules/libphp7.so':
   #   ensure => link,
-- 
GitLab