Skip to content

Support Enterprise Linux 9 with apache::mod::php (Same issue Enterprise Linux 10) #2608

@ikonia

Description

@ikonia

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:

  1. include apache::mod::php in a manifest on Enterprise Linux 9 or later
  2. apachectl config test and view errors
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions