Skip to content

Commit

Permalink
Merge pull request #874 from vrtdev/feature/rabbitmq-cli
Browse files Browse the repository at this point in the history
make sure the rabbitmq_version method actually returns the version.
  • Loading branch information
wyardley authored Mar 2, 2021
2 parents 477905e + 6895819 commit dfd7607
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/puppet/provider/rabbitmq_cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def self.rabbitmq_version
output = rabbitmqctl('-q', 'status')
version = output.match(%r{RabbitMQ.*?([\d\.]+)})
@rabbitmq_version = version[1] if version
@rabbitmq_version
end

def self.rabbitmqctl_list(resource, *opts)
Expand Down

0 comments on commit dfd7607

Please sign in to comment.