Skip to content

Commit 6c42f59

Browse files
committed
RedHat: Fix outdated gpgkey for packagecloud repo
This change updates the gpgkey used for the packagecloud repo, following the latest .repo file generated by the installation script provided in [1]. [1] https://packagecloud.io/rabbitmq/rabbitmq-server
1 parent 16824ac commit 6c42f59

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

REFERENCE.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -582,9 +582,8 @@ Default value: 'installed'
582582
Data type: `Optional[String]`
583583

584584
RPM package GPG key to import. Uses source method. Should be a URL for Debian/RedHat OS family, or a file name for
585-
RedHat OS family. Set to https://www.rabbitmq.com/rabbitmq-release-signing-key.asc for RedHat OS Family and
586-
https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkey for Debian OS Family by default. Note, that `key_content`, if specified, would
587-
override this parameter for Debian OS family.
585+
RedHat OS family. Set to https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkey for Debian/RedHat OS Family by
586+
default. Note, that `key_content`, if specified, would override this parameter for Debian OS family.
588587

589588
Default value: `undef`
590589

data/family/RedHat.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
rabbitmq::package_name: 'rabbitmq-server'
33
rabbitmq::service_name: 'rabbitmq-server'
4-
rabbitmq::package_gpg_key: 'https://www.rabbitmq.com/rabbitmq-release-signing-key.asc'
4+
rabbitmq::package_gpg_key: 'https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkey'

manifests/init.pp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,8 @@
211211
# Determines the ensure state of the package. Set to installed by default, but could be changed to latest.
212212
# @param package_gpg_key
213213
# RPM package GPG key to import. Uses source method. Should be a URL for Debian/RedHat OS family, or a file name for
214-
# RedHat OS family. Set to https://www.rabbitmq.com/rabbitmq-release-signing-key.asc for RedHat OS Family and
215-
# https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkey for Debian OS Family by default. Note, that `key_content`, if specified, would
216-
# override this parameter for Debian OS family.
214+
# RedHat OS family. Set to https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkey for Debian/RedHat OS Family by
215+
# default. Note, that `key_content`, if specified, would override this parameter for Debian OS family.
217216
# @param package_name
218217
# Name(s) of the package(s) to install
219218
# @param port

spec/classes/rabbitmq_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
is_expected.to contain_yumrepo('rabbitmq').
6767
with_ensure('present').
6868
with_baseurl(%r{https://packagecloud.io/rabbitmq/rabbitmq-server/el/\d+/\$basearch$}).
69-
with_gpgkey('https://www.rabbitmq.com/rabbitmq-release-signing-key.asc')
69+
with_gpgkey('https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkey')
7070
end
7171
else
7272
it { is_expected.not_to contain_class('rabbitmq::repo::rhel') }

0 commit comments

Comments
 (0)