Soften the rabbitmq version pin

With version 5.7.4 the rabbitmq cookbook should be working for us again.
However, we also learned that with the upcoming 6.x version of the
cookbook only versions >= 3.7.x of rabbitmq will be supported, which
isn't available as distro version at least for Ubuntu LTS releases yet.
So we change this pin into a soft match, allowing for updates within the
5.x stable branch, but blocking 6.x.

Change-Id: Id647f10fd5d4b69b441c4f8de8c325ec0032d9ea
This commit is contained in:
Jens Harbott 2019-03-21 10:29:26 +00:00
parent a37377329f
commit 818851f790
1 changed files with 1 additions and 2 deletions

View File

@ -13,8 +13,7 @@ recipe 'rabbitmq-server', 'Installs and configures RabbitMQ and is called via th
end
depends 'openstack-common', '>= 18.0.0'
# Note(frickler): Workaround for https://github.com/rabbitmq/chef-cookbook/issues/508
depends 'rabbitmq', '5.7.0'
depends 'rabbitmq', '~> 5.7'
issues_url 'https://launchpad.net/openstack-chef' if respond_to?(:issues_url)
source_url 'https://github.com/openstack/cookbook-openstack-ops-messaging' if respond_to?(:source_url)