From 1268b28b30ee463a43506859337fd91e261344e8 Mon Sep 17 00:00:00 2001 From: David Wicinas <93669463+dwicinas@users.noreply.github.com> Date: Wed, 6 Nov 2024 11:15:24 -0500 Subject: [PATCH] Template changes to support RHEL9 on ARM64 for PEM (agent and server) --- install_template/config.yaml | 6 ++++++ .../rhel-9_arm64.njk | 3 +++ .../rhel-9_arm64.njk | 11 +++++++++++ 3 files changed, 20 insertions(+) create mode 100644 install_template/templates/products/postgres-enterprise-manager-agent/rhel-9_arm64.njk create mode 100644 install_template/templates/products/postgres-enterprise-manager-server/rhel-9_arm64.njk diff --git a/install_template/config.yaml b/install_template/config.yaml index 5ccc367a8ce..54630902297 100644 --- a/install_template/config.yaml +++ b/install_template/config.yaml @@ -690,6 +690,9 @@ products: - name: RHEL 9 or OL 9 arch: x86_64 supported versions: [9] + - name: RHEL 9 or OL 9 + arch: arm64 + supported versions: [9] - name: RHEL 9 arch: ppc64le supported versions: [9] @@ -731,6 +734,9 @@ products: - name: RHEL 9 or OL 9 arch: x86_64 supported versions: [9] + - name: RHEL 9 or OL 9 + arch: arm64 + supported versions: [9] - name: RHEL 9 arch: ppc64le supported versions: [9] diff --git a/install_template/templates/products/postgres-enterprise-manager-agent/rhel-9_arm64.njk b/install_template/templates/products/postgres-enterprise-manager-agent/rhel-9_arm64.njk new file mode 100644 index 00000000000..86cb86a3880 --- /dev/null +++ b/install_template/templates/products/postgres-enterprise-manager-agent/rhel-9_arm64.njk @@ -0,0 +1,3 @@ +{% extends "products/postgres-enterprise-manager-agent/base.njk" %} +{% set platformBaseTemplate = "rhel-9-or-ol-9" %} +{% block prerequisites %}{% endblock prerequisites %} \ No newline at end of file diff --git a/install_template/templates/products/postgres-enterprise-manager-server/rhel-9_arm64.njk b/install_template/templates/products/postgres-enterprise-manager-server/rhel-9_arm64.njk new file mode 100644 index 00000000000..61856ff934e --- /dev/null +++ b/install_template/templates/products/postgres-enterprise-manager-server/rhel-9_arm64.njk @@ -0,0 +1,11 @@ +{% extends "products/postgres-enterprise-manager-server/base.njk" %} +{% set platformBaseTemplate = "rhel-9-or-ol-9" %} +{% set ssutilsName %}sslutils_ postgresql-contrib{% endset %} +{% set ssutilsExtendedName %}edb-postgresextended-contrib{% endset %} +{% set ssutilsExtendedFirstName %}edb-postgresextended-sslutils{% endset %} +{% block prerequisites %}{% endblock prerequisites %} +{% block firewallCommand %}```shell + firewall-cmd --permanent --zone=public --add-port=8443/tcp + + firewall-cmd --reload + ```{% endblock firewallCommand %}