From 44ee757209580b164c777bddd2d81e39d38b19f6 Mon Sep 17 00:00:00 2001 From: David Wicinas <93669463+dwicinas@users.noreply.github.com> Date: Mon, 11 Dec 2023 11:26:14 -0500 Subject: [PATCH 1/2] fixes to template specified in PR 5066 --- .../installing/linux_x86_64/postgresql_other_linux_8.mdx | 6 +----- .../installing/linux_x86_64/postgresql_other_linux_9.mdx | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/advocacy_docs/supported-open-source/postgresql/installing/linux_x86_64/postgresql_other_linux_8.mdx b/advocacy_docs/supported-open-source/postgresql/installing/linux_x86_64/postgresql_other_linux_8.mdx index f8fdc05082c..7c05941a38e 100644 --- a/advocacy_docs/supported-open-source/postgresql/installing/linux_x86_64/postgresql_other_linux_8.mdx +++ b/advocacy_docs/supported-open-source/postgresql/installing/linux_x86_64/postgresql_other_linux_8.mdx @@ -43,13 +43,9 @@ Before you begin the installation process: sudo dnf config-manager --set-enabled powertools ``` -- Enable additional repositories to resolve dependencies: - ```shell - dnf config-manager --set-enabled powertools - ``` - Disable the built-in PostgreSQL module: ```shell - dnf -qy module disable postgresql + sudo dnf -qy module disable postgresql ``` ## Install the package diff --git a/advocacy_docs/supported-open-source/postgresql/installing/linux_x86_64/postgresql_other_linux_9.mdx b/advocacy_docs/supported-open-source/postgresql/installing/linux_x86_64/postgresql_other_linux_9.mdx index 51f23e38505..5be0ddbf51e 100644 --- a/advocacy_docs/supported-open-source/postgresql/installing/linux_x86_64/postgresql_other_linux_9.mdx +++ b/advocacy_docs/supported-open-source/postgresql/installing/linux_x86_64/postgresql_other_linux_9.mdx @@ -43,13 +43,9 @@ Before you begin the installation process: sudo dnf config-manager --set-enabled powertools ``` -- Enable additional repositories to resolve dependencies: - ```shell - dnf config-manager --set-enabled powertools - ``` - Disable the built-in PostgreSQL module: ```shell - dnf -qy module disable postgresql + sudo dnf -qy module disable postgresql ``` ## Install the package From 9f6dad0f4884462ebb314e97e5feb3daacd733b9 Mon Sep 17 00:00:00 2001 From: David Wicinas <93669463+dwicinas@users.noreply.github.com> Date: Mon, 11 Dec 2023 11:42:01 -0500 Subject: [PATCH 2/2] required template changes On previous commit I submitted the generated changes instead of the template changes. The changes in this commit are required to generate the necessary changes. --- .../products/postgresql/almalinux-8-or-rocky-linux-8.njk | 6 +----- .../products/postgresql/almalinux-9-or-rocky-linux-9.njk | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/install_template/templates/products/postgresql/almalinux-8-or-rocky-linux-8.njk b/install_template/templates/products/postgresql/almalinux-8-or-rocky-linux-8.njk index 7b887f59c62..84f4ffb9012 100644 --- a/install_template/templates/products/postgresql/almalinux-8-or-rocky-linux-8.njk +++ b/install_template/templates/products/postgresql/almalinux-8-or-rocky-linux-8.njk @@ -3,12 +3,8 @@ {% set packageManager = "dnf" %} {% block prerequisites %} {{ super() }} -- Enable additional repositories to resolve dependencies: - ```shell - dnf config-manager --set-enabled powertools - ``` - Disable the built-in PostgreSQL module: ```shell - dnf -qy module disable postgresql + sudo dnf -qy module disable postgresql ``` {% endblock prerequisites %} diff --git a/install_template/templates/products/postgresql/almalinux-9-or-rocky-linux-9.njk b/install_template/templates/products/postgresql/almalinux-9-or-rocky-linux-9.njk index 8ddeed61ba9..f7c912a12cc 100644 --- a/install_template/templates/products/postgresql/almalinux-9-or-rocky-linux-9.njk +++ b/install_template/templates/products/postgresql/almalinux-9-or-rocky-linux-9.njk @@ -3,12 +3,8 @@ {% set packageManager = "dnf" %} {% block prerequisites %} {{ super() }} -- Enable additional repositories to resolve dependencies: - ```shell - dnf config-manager --set-enabled powertools - ``` - Disable the built-in PostgreSQL module: ```shell - dnf -qy module disable postgresql + sudo dnf -qy module disable postgresql ``` {% endblock prerequisites %}