Style and lint fixes to support newer ChefDK

Change-Id: If444be3354ed0f9ec961cc2fe726e53645dba87a
(cherry picked from commit 82739b2c2d)
This commit is contained in:
Samuel Cassiba 2016-07-03 10:18:14 -07:00 committed by Jan Klare
parent ef392ce271
commit d797a6526b
3 changed files with 7 additions and 5 deletions

View File

@ -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 #

View File

@ -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'

View File

@ -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