mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 01:30:25 +00:00
Use correct Fedora upstream repo
This commit is contained in:
parent
ea8c88c601
commit
37c096e078
1 changed files with 7 additions and 2 deletions
|
@ -31,11 +31,16 @@ RedHat:
|
|||
pkg_repo:
|
||||
name: pgdg{{ release }}
|
||||
humanname: PostgreSQL {{ repo.version }} $releasever - $basearch
|
||||
baseurl: 'https://download.postgresql.org/pub/repos/yum/{{ repo.version }}/redhat/rhel-$releasever-$basearch'
|
||||
gpgcheck: 1
|
||||
gpgkey: 'https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-{{ release }}'
|
||||
{% if grains.os == 'Fedora' %}
|
||||
baseurl: 'https://download.postgresql.org/pub/repos/yum/{{ repo.version }}/fedora/fedora-$releasever-$basearch'
|
||||
{% else %}
|
||||
baseurl: 'https://download.postgresql.org/pub/repos/yum/{{ repo.version }}/redhat/rhel-$releasever-$basearch'
|
||||
{% endif %}
|
||||
|
||||
{% if repo.use_upstream_repo %}
|
||||
{% if repo.use_upstream_repo == true %}
|
||||
{% set data_dir = '/var/lib/pgsql/' ~ repo.version ~ '/data' %}
|
||||
|
||||
pkg: postgresql{{ release }}-server
|
||||
pkg_client: postgresql{{ release }}
|
||||
|
|
Loading…
Add table
Reference in a new issue