We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 175d556 + f8bd2d8 commit 2605e30Copy full SHA for 2605e30
lib/puppet/provider/rabbitmq_vhost/rabbitmqctl.rb
@@ -19,6 +19,11 @@ def self.prefetch(resources)
19
# we only deal with vhost metadata >= version 3.11.0
20
def self.supports_metadata?
21
Puppet::Util::Package.versioncmp(rabbitmq_version, '3.11') >= 0
22
+ rescue Puppet::MissingCommand
23
+ # See comment on the definition of rabbitmqctl_list in rabbitmqctl_cli.rb;
24
+ # the same rationale applies here.
25
+ Puppet.debug('supports_metadata?: rabbitmqctl command not found; assuming rabbitmq is not installed')
26
+ false
27
end
28
29
def supports_metadata?
0 commit comments