Skip to content

Commit 8dc75d7

Browse files
committed
rhel9: fix environment setup and futureproof for modules
1 parent 705b655 commit 8dc75d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

specs/multispec.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ specs:
6262
img_name: "{{ spec.org }}/postgresql-{{ spec.short }}"
6363
pkgs: "postgresql-server postgresql-contrib"
6464
environment_setup: >-4
65-
yum -y install postgresql && \
65+
{ yum -y module enable postgresql:{{ spec.version }} || :; } && \
6666
post_install: >-4
6767
yum -y reinstall tzdata && \
6868
c9s:
@@ -76,7 +76,7 @@ specs:
7676
img_name: "{{ spec.org }}/postgresql-{{ spec.short }}-{{ spec.prod }}"
7777
pkgs: "postgresql-server postgresql-contrib"
7878
environment_setup: >-4
79-
yum -y install postgresql && \
79+
{ yum -y module enable postgresql:{{ spec.version }} || :; } && \
8080
c8s:
8181
distros:
8282
- centos-stream-8-x86_64

0 commit comments

Comments
 (0)