Skip to content

Commit e656256

Browse files
authored
Merge pull request #188 from jacksgt/update-fingerprints
Add Gluster APT Repo PGP fingerprints for 3.13, 4.0, 4.1 and 5+
2 parents 72a80cd + e459b05 commit e656256

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

manifests/repo/apt.pp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@
4545
'3.10' => 'C784DD0FD61E38B8B1F65E10DAD761554A72C1DF',
4646
'3.11' => 'DE82F0BACC4DB70DBEF95CA65EC2255642304A6E',
4747
'3.12' => '8B7C364430B66F0B084C0B0C55339A4C6A7BD8D4',
48+
'3.13' => '9B5AE8E6FD2581F293104ACC38675E5F30F779AF',
49+
'4.0' => '55F839E173AC06F364120D46FA86EEACB306CEE1',
50+
'4.1' => 'EED3351AFD72E5437C050F0388F6CDEE78FA6D97',
51+
'^5\.(\d)+$' => 'F9C958A3AEE0D2184FAD1CBD43607F0DC2F8238C',
4852
default => '849512C2CA648EF425048F55C883F50CB2289A17',
4953
}
5054

spec/classes/repo_apt_spec.rb

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,26 @@
5353
end
5454
end
5555

56+
context 'Specific Gluster release 4.1' do
57+
let :params do
58+
{
59+
release: '4.1'
60+
}
61+
end
62+
63+
it 'installs' do
64+
is_expected.to contain_apt__source('glusterfs-LATEST').with(
65+
repos: 'main',
66+
release: facts[:lsbdistcodename].to_s,
67+
key: {
68+
'id' => 'EED3351AFD72E5437C050F0388F6CDEE78FA6D97',
69+
'key_source' => 'https://download.gluster.org/pub/gluster/glusterfs/4.1/rsa.pub'
70+
},
71+
location: "http://download.gluster.org/pub/gluster/glusterfs/4.1/LATEST/Debian/#{facts[:lsbdistcodename]}/amd64/apt/"
72+
)
73+
end
74+
end
75+
5676
context 'Specific Gluster release 3.9' do
5777
let :params do
5878
{

0 commit comments

Comments
 (0)