fix(redhat): fix pkg_deps to be able to install PostgreSQL 13
This commit is contained in:
@@ -83,4 +83,12 @@
|
||||
{{ fedora_codename('Fedora-34', '13') }}
|
||||
{{ fedora_codename('Fedora-33', '13') }}
|
||||
|
||||
## Amazon
|
||||
Amazon Linux 2:
|
||||
pkgs_deps:
|
||||
- libicu
|
||||
- systemd-sysv
|
||||
pkg_repo:
|
||||
baseurl: 'https://download.postgresql.org/pub/repos/yum/{{ repo.version }}/redhat/rhel-7-$basearch'
|
||||
|
||||
# vim: ft=sls
|
||||
|
||||
@@ -63,11 +63,12 @@ RedHat:
|
||||
gpgkey: 'https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-{{ release }}'
|
||||
baseurl: 'https://download.postgresql.org/pub/repos/yum/{{ repo.version }}/redhat/rhel-$releasever-$basearch'
|
||||
|
||||
{%- if grains.get('osmajorrelease', 0) >= 7 %}
|
||||
pkgs_deps:
|
||||
- libicu
|
||||
pkg_python: python3-psycopg2
|
||||
{%- if grains.get('osmajorrelease', 0) == 7 %}
|
||||
- systemd-sysv
|
||||
{%- endif %}
|
||||
pkg_python: python3-psycopg2
|
||||
|
||||
{% if repo.use_upstream_repo == true %}
|
||||
{% set data_dir = '/var/lib/pgsql/' ~ repo.version ~ '/data' %}
|
||||
|
||||
@@ -9,7 +9,3 @@ Fedora:
|
||||
baseurl: 'https://download.postgresql.org/pub/repos/yum/{{ repo.version }}/fedora/fedora-$releasever-$basearch'
|
||||
remove:
|
||||
releases: ['9.4', '9.5', '9.6', '10']
|
||||
|
||||
Amazon:
|
||||
pkg_repo:
|
||||
baseurl: 'https://download.postgresql.org/pub/repos/yum/{{ repo.version }}/redhat/rhel-7-$basearch'
|
||||
|
||||
Reference in New Issue
Block a user