cpanel / elevate

elevate your cPanel&WHM CentOS 7 server to Almalinux 8
https://cpanel.github.io/elevate/
BSD 2-Clause "Simplified" License
43 stars 29 forks source link

Use 'CloudLinux_8' target to backup EA4 profile with I360 installed #456

Closed cPholloway closed 4 weeks ago

cPholloway commented 1 month ago

Case RE-403: In RE-313, we added support for Imunify 360's hardened PHP repo to the EA4 blocker. Unfortunately, this improvement did not account for some packages that Imunify 360's hardened PHP repo does not provide which has resulted in some servers making it past the EA4 blocker that had packages installed that were not supported on A8/CL8. This change removes the current logic to support Imunify 360's hardened PHP repo, and replaces it by teaching 'Elevate::EA4::_backup_ea4_profile' to use the 'CloudLinux_8' target when Imunify 360 is installed with the hardened PHP feature. We can do this since Imunify 360's hardened PHP feature is essentially just providing CloudLinux's EA4 to servers with the feature available.

Changelog: Use 'CloudLinux_8' target to backup EA4 profile on servers with Imunify 360 installed and providing the hardened PHP feature

By submitting pull requests to this repo, I agree to the Contributor License Agreement which can be found at: https://github.com/cpanel/elevate/blob/main/docs/cPanel-CLA.pdf