Skip to content

Commit a13404c

Browse files
authored
Add support for Amazon Linux 2
1 parent f8fff7b commit a13404c

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

epel/map.jinja

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,22 @@
33
'disabled': False,
44
'testing': False,
55
},
6-
'Amazon': {
7-
'key': 'https://fedoraproject.org/static/0608B895.txt',
8-
'key_hash': 'sha256=16d35fa467c6efcee21d3aa068a02054b6a89a7a33bffa94db1fc141693d62a3',
9-
'key_name': 'RPM-GPG-KEY-EPEL-6',
10-
'rpm': 'http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm',
6+
'Amazon': salt['grains.filter_by']({
7+
'2': {
8+
'key': 'https://fedoraproject.org/static/352C64E5.txt',
9+
'key_hash': 'sha256=22f25ad95d5e8d371760815485dba696ea3002fc2c7f812f2c75276853387107',
10+
'key_name': 'RPM-GPG-KEY-EPEL-7',
11+
'rpm': 'https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm',
12+
},
13+
'2018': {
14+
'key': 'https://fedoraproject.org/static/0608B895.txt',
15+
'key_hash': 'sha256=16d35fa467c6efcee21d3aa068a02054b6a89a7a33bffa94db1fc141693d62a3',
16+
'key_name': 'RPM-GPG-KEY-EPEL-6',
17+
'rpm': 'http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm',
18+
},
1119
},
20+
grain='osmajorreleaes',
21+
default='2018'),
1222
'RedHat': salt['grains.filter_by']({
1323
'5': {
1424
'key': 'https://fedoraproject.org/static/A4D647E9.txt',

0 commit comments

Comments
 (0)