Skip to content

Add El10 support - #1037

Merged
alaunay merged 1 commit into
voxpupuli:masterfrom
d1nuc0m:el10-support
Nov 28, 2026
Merged

alaunay merged 1 commit into
voxpupuli:masterfrom
d1nuc0m:el10-support

Conversation

@d1nuc0m

@d1nuc0m d1nuc0m commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Pull Request (PR) description

Add EL10 support

This Pull Request (PR) fixes the following issues

n/a.

@d1nuc0m
d1nuc0m force-pushed the el10-support branch 3 times, most recently from b350e2d to 06fedb9 Compare September 15, 2026 13:15
@alaunay

alaunay commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Hello @d1nuc0m , can you rebase please ? With the recent stuff with Zabbix 7, that would be a good test... Thanks :)

@smortex smortex changed the title El10 support Add El10 support Nov 28, 2026
@smortex smortex added the enhancement New feature or request label Nov 28, 2026
@smortex

smortex commented Nov 28, 2026

Copy link
Copy Markdown
Member

Okay RHEL 8 shipped a version too old, I guess that if we set an explicit version newer than the minimum requirements only for RHEL 8 we should be green and good to go?

Add AlmaLinux, CentOS, OracleLinux, RedHat and Rocky 10 to
operatingsystem_support.
Set os.selinux.enabled in specs; facterdb ships it false for RedHat 10.
Drop the stale PostgreSQL 13 pin so the module uses each OS default
version, and pin EL8 to 16 because its default 10 is below the minimum
required by Zabbix 7.0.

Co-authored-by: DeepSeek V4.1 Flash <noreply@opencode.ai>
Signed-off-by: Arnaud Launay <alaunay@cusae.com>
@alaunay

alaunay commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Okay RHEL 8 shipped a version too old, I guess that if we set an explicit version newer than the minimum requirements only for RHEL 8 we should be green and good to go?

Yes, dual problem... Zabbix 7 requires postgre 13.x minimum, but the puppetlabs-postgresql module fix the default version of PG to 10.x for EL8. Zabbix 7 was not happy...

I guess puppetlabs-postgresql should be updated, but, well... :/

@smortex smortex left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using the default version where it is suitable and explicitly requesting a compatible version otherwise like it is now done seems good to me!

@alaunay

alaunay commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

So, with the current updated commit:

Operating system Release PostgreSQL Source
AlmaLinux 8 16 family/RedHat/8.yaml pin, AppStream
AlmaLinux 9 15 family/RedHat/9.yaml pin, AppStream
AlmaLinux 10 16 puppetlabs-postgresql default, PGDG
Archlinux rolling distro package (unpinned) postgresql package, version unused
CentOS 9 15 family/RedHat/9.yaml pin, AppStream
CentOS 10 16 puppetlabs-postgresql default, PGDG
Debian 12 15 puppetlabs-postgresql default, PGDG
FreeBSD 14 12 module default databases/postgresql12-*, untested
Gentoo rolling 9.5 module default, untested
OracleLinux 8 16 family/RedHat/8.yaml pin, AppStream
OracleLinux 9 15 family/RedHat/9.yaml pin, AppStream
OracleLinux 10 16 puppetlabs-postgresql default, PGDG
RedHat 8 16 family/RedHat/8.yaml pin, AppStream
RedHat 9 15 family/RedHat/9.yaml pin, AppStream
RedHat 10 16 puppetlabs-postgresql default, PGDG
Rocky 8 16 family/RedHat/8.yaml pin, AppStream
Rocky 9 15 family/RedHat/9.yaml pin, AppStream
Rocky 10 16 puppetlabs-postgresql default, PGDG
Ubuntu 22.04 14 puppetlabs-postgresql default, PGDG
AIX 7 not used agent-only in this module
windows 2016 not used agent-only in this module
windows 2019 not used agent-only in this module

It's a bit of a mix. What about defaulting everything to postgre 18, supported by Zabbix since 7.0.20, and which will offer the longest life ?

@smortex

smortex commented Nov 28, 2026

Copy link
Copy Markdown
Member

I personally tend to prefer to use the default version maintained by my OS/distro rather than by a third party, and the current situation seems totally fine to me (and in a way it allows testing in a wider variety of environments which may help to spot some kinds of regressions), but I do not have strong feelings about it.

My point is that "13" was probably recent enough when it was introduced, but as it stays out-of-view we only see it now, when new OS do not have an option for this version, and bumping to 18 will basically do the same in a few years.

@alaunay

alaunay commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Good for me ! Merging now, thanks for pushing !

@alaunay
alaunay merged commit 568036f into voxpupuli:master Nov 28, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants