diff --git a/manifests/init.pp b/manifests/init.pp index 617573838af6477373e41fa4b3bb45fd60e8defa..7dd072b39a1ed129f5a488b7dc7e18e858c9d88e 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',