From 17c585e167ea567e602da242307d2c187f47c1c5 Mon Sep 17 00:00:00 2001 From: Petr Kubat Date: Thu, 21 Jul 2022 11:17:41 +0200 Subject: [PATCH] rhel9: fix environment setup and futureproof for modules --- specs/multispec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/multispec.yml b/specs/multispec.yml index 9be27492..9b206420 100644 --- a/specs/multispec.yml +++ b/specs/multispec.yml @@ -62,7 +62,7 @@ specs: img_name: "{{ spec.org }}/postgresql-{{ spec.short }}" pkgs: "postgresql-server postgresql-contrib" environment_setup: >-4 - yum -y install postgresql && \ + { yum -y module enable postgresql:{{ spec.version }} || :; } && \ post_install: >-4 yum -y reinstall tzdata && \ c9s: @@ -76,7 +76,7 @@ specs: img_name: "{{ spec.org }}/postgresql-{{ spec.short }}-{{ spec.prod }}" pkgs: "postgresql-server postgresql-contrib" environment_setup: >-4 - yum -y install postgresql && \ + { yum -y module enable postgresql:{{ spec.version }} || :; } && \ c8s: distros: - centos-stream-8-x86_64