From f331560d6a2ae2d7a258a9fceff612b4927d2287 Mon Sep 17 00:00:00 2001 From: saganorenkarlson <sagno626@student.liu.se> Date: Fri, 7 Jun 2024 15:30:29 +0200 Subject: [PATCH] Took back liurepo::remi --- manifests/init.pp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 6175738..7dd072b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -72,7 +72,14 @@ class aim_control ( include aim_control::firewall include apache - include aim_control::remirepo + include liurepo::remi + + exec { 'enable remi-php74': + command => 'dnf module enable php:remi-7.4 -y', + path => ['/bin', '/usr/bin'], + unless => 'dnf module list php:remi-7.4 | grep -q "[e]"', + require => Class['liurepo::remi'], + } class { 'apache::mod::php': package_name => 'php74', -- GitLab