Skip to content

Commit be29114

Browse files
committed
drop legacy glusterfs code
1 parent e548bff commit be29114

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

manifests/repo/apt.pp

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@
3131
include 'apt'
3232

3333
$repo_key_name = $release ? {
34-
'3.10' => 'C784DD0FD61E38B8B1F65E10DAD761554A72C1DF',
35-
'3.11' => 'DE82F0BACC4DB70DBEF95CA65EC2255642304A6E',
36-
'3.12' => '8B7C364430B66F0B084C0B0C55339A4C6A7BD8D4',
37-
'3.13' => '9B5AE8E6FD2581F293104ACC38675E5F30F779AF',
38-
'4.0' => '55F839E173AC06F364120D46FA86EEACB306CEE1',
3934
'4.1' => 'EED3351AFD72E5437C050F0388F6CDEE78FA6D97',
4035
'^5\.(\d)+$' => 'F9C958A3AEE0D2184FAD1CBD43607F0DC2F8238C',
4136
/^6/ => 'F9C958A3AEE0D2184FAD1CBD43607F0DC2F8238C',
@@ -64,11 +59,7 @@
6459
'arm64' => 'arm64',
6560
default => false,
6661
}
67-
if versioncmp($release, '3.12') < 0 {
68-
$repo_url = "https://download.gluster.org/pub/gluster/glusterfs/${release}/LATEST/Debian/${facts['lsbdistcodename']}/apt/"
69-
} else {
70-
$repo_url = "https://download.gluster.org/pub/gluster/glusterfs/${release}/LATEST/Debian/${facts['lsbdistcodename']}/${arch}/apt/"
71-
}
62+
$repo_url = "https://download.gluster.org/pub/gluster/glusterfs/${release}/LATEST/Debian/${facts['lsbdistcodename']}/${arch}/apt/"
7263
}
7364
default: {
7465
fail('gluster::repo::apt currently only works on Debian')

0 commit comments

Comments
 (0)