Skip to content

Commit 9cc95c0

Browse files
committed
feat(codenamemap): update for current versions
1 parent 1392538 commit 9cc95c0

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

postgres/codenamemap.yaml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,28 +54,31 @@
5454
{% endmacro %}
5555

5656
## Debian GNU/Linux (the second parameter refers to the postgresql package version, not the distro)
57-
{{ debian_codename('wheezy', '9.1') }}
57+
# http://apt.postgresql.org/pub/repos/apt/dists/
58+
# https://packages.debian.org/search?keywords=postgresql&searchon=names
5859
{{ debian_codename('jessie', '9.4') }}
5960
{{ debian_codename('stretch', '9.6') }}
6061
{{ debian_codename('buster', '11') }}
6162

6263
# `oscodename` grain has long distro name
6364
# if `lsb-release` package not installed
64-
{{ debian_codename('wheezy', '9.1', 'Debian GNU/Linux 7 (wheezy)') }}
6565
{{ debian_codename('jessie', '9.4', 'Debian GNU/Linux 8 (jessie)') }}
6666
{{ debian_codename('stretch', '9.6', 'Debian GNU/Linux 9 (stretch)') }}
6767
{{ debian_codename('buster', '11', 'Debian GNU/Linux 10 (buster)') }}
6868

6969
## Ubuntu
70-
{{ debian_codename('trusty', '9.3') }}
70+
# http://apt.postgresql.org/pub/repos/apt/dists/
71+
# https://packages.ubuntu.com/search?keywords=postgresql&searchon=names
7172
{{ debian_codename('xenial', '9.5') }}
72-
{{ debian_codename('artful', '9.6') }}
7373
{{ debian_codename('bionic', '10') }}
74-
{{ debian_codename('cosmic', '10') }}
74+
{{ debian_codename('eoan', '11') }}
75+
{{ debian_codename('focal', '12') }}
7576

7677
## Fedora
78+
# http://apt.postgresql.org/pub/repos/yum/reporpms/
79+
# https://apps.fedoraproject.org/packages/postgresql
7780
# `oscodename` grain has long distro name
78-
{{ fedora_codename('Fedora-27', '9.6', 'Fedora 27 (Twenty Seven)') }}
79-
{{ fedora_codename('Fedora-26', '9.6', 'Fedora 26 (Twenty Six)') }}
81+
{{ fedora_codename('Fedora-31', '11', 'Fedora 31 (Thirty One)') }}
82+
{{ fedora_codename('Fedora-30', '11', 'Fedora 30 (Thirty)') }}
8083

8184
# vim: ft=sls

0 commit comments

Comments
 (0)