From d797a6526b8c410edd47e3c4994a3d11795fe33e Mon Sep 17 00:00:00 2001 From: Samuel Cassiba Date: Sun, 3 Jul 2016 10:18:14 -0700 Subject: [PATCH] Style and lint fixes to support newer ChefDK Change-Id: If444be3354ed0f9ec961cc2fe726e53645dba87a (cherry picked from commit 82739b2c2d77729567812c223ab2490bbbe9139b) --- README.md | 4 ++-- metadata.rb | 2 ++ spec/spec_helper.rb | 6 +++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b3a2245..6e2b5a2 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # Description # -This cookbook provides shared message queue configuration for the OpenStack deployment provided by Chef for OpenStack. The http://github.com/mattray/chef-openstack-repo contains documentation for using this cookbook in the context of a full OpenStack deployment. It currently supports RabbitMQ and will soon other queues. +This cookbook provides shared message queue configuration for the OpenStack deployment provided by Chef for OpenStack. The [OpenStack chef-repo](http://github.com/openstack/openstack-chef-repo) contains documentation for using this cookbook in the context of a full OpenStack deployment. It currently supports RabbitMQ and will soon other queues. # Requirements # -Chef 11 with Ruby 1.9.x required. +Chef 12 with Ruby 2.1.x required. # Platforms # diff --git a/metadata.rb b/metadata.rb index 1dddb38..0a75224 100644 --- a/metadata.rb +++ b/metadata.rb @@ -2,6 +2,8 @@ name 'openstack-ops-messaging' maintainer 'openstack-chef' maintainer_email 'openstack-dev@lists.openstack.org' +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) license 'Apache 2.0' description 'Provides the shared messaging configuration for Chef for OpenStack.' version '13.0.0' diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 1004afa..734a568 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -9,17 +9,17 @@ REDHAT_OPTS = { platform: 'redhat', version: '7.1', log_level: LOG_LEVEL -} +}.freeze UBUNTU_OPTS = { platform: 'ubuntu', version: '14.04', log_level: LOG_LEVEL -} +}.freeze SUSE_OPTS = { platform: 'suse', version: '11.3', log_level: ::LOG_LEVEL -} +}.freeze shared_context 'ops_messaging_stubs' do before do