From 84571604c6a03edd20c986281ccd081a74cc428e Mon Sep 17 00:00:00 2001 From: Filip Janus Date: Thu, 11 Jan 2024 23:22:06 +0100 Subject: [PATCH] fix: Enable PostgreSQL stream selection for c9s and RHEL9 c9s/RHEL9 provides PostgreSQL 13 as the default system version as a classic RPM package. Alternative versions are provided as modular content. So, it requires a different installation procedure. --- vars/CentOS_9.yml | 8 ++++++++ vars/RedHat_9.yml | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 vars/CentOS_9.yml create mode 100644 vars/RedHat_9.yml diff --git a/vars/CentOS_9.yml b/vars/CentOS_9.yml new file mode 100644 index 0000000..2b8de84 --- /dev/null +++ b/vars/CentOS_9.yml @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: MIT +--- +# Put internal variables here with CentOS 9 specific values. + +__postgresql_packages: >- + {{ ['@postgresql:' + postgresql_version + + '/server'] if postgresql_version != '13' else + ['postgresql-server'] }} diff --git a/vars/RedHat_9.yml b/vars/RedHat_9.yml new file mode 100644 index 0000000..982f354 --- /dev/null +++ b/vars/RedHat_9.yml @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: MIT +--- +# Put internal variables here with Red Hat Enterprise Linux 9 specific values. + +__postgresql_packages: >- + {{ ['@postgresql:' + postgresql_version + + '/server'] if postgresql_version != '13' else + ['postgresql-server'] }}