Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8392330
rhel.pp
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
758 B
Subscribers
None
rhel.pp
View Options
# Class: rabbitmq::repo::rhel
# Makes sure that the Packagecloud repo is installed
class
rabbitmq
::
repo
::
rhel
(
$location
=
'https://packagecloud.io/rabbitmq/rabbitmq-server/el/$releasever/$basearch'
,
$key_source
=
'https://www.rabbitmq.com/rabbitmq-release-signing-key.asc'
,
)
{
Class
[
'rabbitmq::repo::rhel'
]
->
Package
<|
title
==
'rabbitmq-server'
|>
yumrepo
{
'rabbitmq'
:
ensure
=>
present
,
name
=>
'rabbitmq_rabbitmq-server'
,
baseurl
=>
$location,
gpgkey
=>
$key_source,
enabled
=>
1
,
}
# This may still be needed to prevent warnings
exec
{
"rpm --import ${key_source}"
:
path
=>
[
'/bin'
,
'/usr/bin'
,
'/sbin'
,
'/usr/sbin'
],
unless
=>
'rpm -q gpg-pubkey-6026dfca-573adfde 2>/dev/null'
,
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jun 4 2025, 6:57 PM (10 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3270900
Attached To
R198 puppet-puppet-rabbitmq
Event Timeline
Log In to Comment