File tree 2 files changed +9
-3
lines changed
test/integration/repo/controls
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ Suse:
145
145
humanname : PostgreSQL {{ repo.version }} $releasever - $basearch
146
146
# works for postgres 11 onwards
147
147
baseurl : ' https://download.postgresql.org/pub/repos/zypp/{{ repo.version }}/suse/sles-$releasever-$basearch'
148
- key_url : ' https://download.postgresql.org/pub/repos/zypp/{{ repo.version }}/suse/sles-$releasever-$basearch/repodata/repomd.xml.key'
148
+ gpgkey : ' https://download.postgresql.org/pub/repos/zypp/{{ repo.version }}/suse/sles-$releasever-$basearch/repodata/repomd.xml.key'
149
149
gpgcheck : 1
150
150
gpgautoimport : True
151
151
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
3
case platform . family
4
- when 'redhat'
4
+ when 'redhat' , 'fedora'
5
5
repo_file = '/etc/yum.repos.d/pgdg13.repo'
6
- repo_url = 'https://download.postgresql.org/pub/repos/yum/13/redhat/rhel-$releasever-$basearch'
6
+ os_name_repo_url = {
7
+ 'amazon' => 'https://download.postgresql.org/pub/repos/yum/13/redhat/rhel-7-$basearch' ,
8
+ 'fedora' => 'https://download.postgresql.org/pub/repos/yum/13/fedora/fedora-$releasever-$basearch' ,
9
+ 'default' => 'https://download.postgresql.org/pub/repos/yum/13/redhat/rhel-$releasever-$basearch'
10
+ }
11
+ repo_url = os_name_repo_url [ platform . name ]
12
+
7
13
when 'debian'
8
14
# Inspec does not provide a `codename` matcher, so we add ours
9
15
finger_codename = {
You can’t perform that action at this time.
0 commit comments