Skip to content

Commit ec30ed1

Browse files
committed
cleanup gluster::repo::apt class
1 parent d4df333 commit ec30ed1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

manifests/repo/apt.pp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
# Key has changed since 3.9
4343
$repo_key_name = $release ? {
44-
/^(3.0|3.1|3.2|3.3|3.4|3.5|3.6|3.7|3.8)$/ => 'A4703C37D3F4DE7F1819E980FE79BB52D5DC52DC',
44+
'3.8' => 'A4703C37D3F4DE7F1819E980FE79BB52D5DC52DC',
4545
'3.10' => 'C784DD0FD61E38B8B1F65E10DAD761554A72C1DF',
4646
'3.11' => 'DE82F0BACC4DB70DBEF95CA65EC2255642304A6E',
4747
'3.12' => '8B7C364430B66F0B084C0B0C55339A4C6A7BD8D4',
@@ -50,10 +50,9 @@
5050

5151
# Key location is different for some releases
5252
$repo_key_source = $release ? {
53-
/^(3.0|3.1|3.2|3.3|3.4|3.5|3.7|3.8|3.10|3.11|3.12)$/ => "https://download.gluster.org/pub/gluster/glusterfs/${release}/LATEST/rsa.pub",
54-
'3.6' => "https://download.gluster.org/pub/gluster/glusterfs/${release}/LATEST/Debian/rsa.pub",
55-
default => "https://download.gluster.org/pub/gluster/glusterfs/${release}/rsa.pub",
56-
}
53+
'3.8' => "https://download.gluster.org/pub/gluster/glusterfs/${release}/LATEST/rsa.pub",
54+
default => "https://download.gluster.org/pub/gluster/glusterfs/${release}/rsa.pub",
55+
}
5756

5857
# basic sanity check
5958
if $version == 'LATEST' {

0 commit comments

Comments
 (0)