Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8396025
rabbitmq_plugins_dirs.rb
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
423 B
Subscribers
None
rabbitmq_plugins_dirs.rb
View Options
Facter
.
add
(
:rabbitmq_plugins_dirs
)
do
setcode
do
if
Facter
::
Util
::
Resolution
.
which
(
'rabbitmqctl'
)
rabbitmq_pluginsdirs_env
=
Facter
::
Core
::
Execution
.
execute
(
"rabbitmqctl eval 'application:get_env(rabbit, plugins_dir).'"
)
rabbitmq_plugins_dirs_match
=
%r{^\{ok\,\"(\/.+\/\w+)}
.
match
(
rabbitmq_pluginsdirs_env
)
rabbitmq_plugins_dirs_match
[
1
].
split
(
':'
)
if
rabbitmq_plugins_dirs_match
end
end
end
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jun 4 2025, 7:48 PM (12 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3282021
Attached To
R198 puppet-puppet-rabbitmq
Event Timeline
Log In to Comment