Skip to content

Commit 38ea40f

Browse files
make sure the rabbitmq_version method actually returns the version.
1 parent 6487e8c commit 38ea40f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/puppet/provider/rabbitmq_cli.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def self.rabbitmq_version
4040
output = rabbitmqctl('-q', 'status')
4141
version = output.match(%r{RabbitMQ.*?([\d\.]+)})
4242
@rabbitmq_version = version[1] if version
43+
@rabbitmq_version
4344
end
4445

4546
def self.rabbitmqctl_list(resource, *opts)

0 commit comments

Comments
 (0)