-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Describe the Bug
Reference.md shows 'Note Unsupported platforms: RedHat: 9' against apache::mod::php
verification of this using EL9 and EL10 shows that ::/mod/php.pp logic at lines 92 - 106 incorrectly evaluations the php version and creates obsolete / unsupported php5.conf php5.load configuration files in /etc/httpd/conf.modules.d
Expected Behavior
correctly evaluate php version against facts and deploy php.conf and php.load with the correct parameters
Steps to Reproduce
Steps to reproduce the behavior:
- include apache::mod::php in a manifest on Enterprise Linux 9 or later
- apachectl config test and view errors
- verify errors in /etc/httpd/conf.modules.d config files
Environment
- Version Puppet 8
- Platform Rocky Linux 9 x86_64, Rocky Linux 10 x86_64
Additional Context
Red Hat 9 was release May 2022 to have a major Perforce Puppet module not support the largest Linux distributions N-1 release 3.25 years after release while also not supporting the current release (10) for a major function (php module) seems a huge functional gap
To have a module attempt to deploy php5 close to 7 years after it's last point release went EOL seems an oversight and security risk in this module