Style and lint fixes to support newer ChefDK

Change-Id: I0f9d09d7cf465ad2c683fe7fc407dff2a8298800
This commit is contained in:
Samuel Cassiba 2016-07-06 11:52:39 -07:00
parent 4b0d41b64f
commit b90f933815
3 changed files with 7 additions and 4 deletions

View File

@ -10,7 +10,8 @@ https://wiki.openstack.org/wiki/Trove
Requirements
============
Chef 11
- Chef 12 or higher
- chefdk 0.9.0 or higher
Cookbooks
---------

View File

@ -1,6 +1,8 @@
name 'openstack-database'
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-database' if respond_to?(:source_url)
license 'Apache 2.0'
description 'Installs/Configures trove'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))

View File

@ -9,17 +9,17 @@ SUSE_OPTS = {
platform: 'suse',
version: '11.3',
log_level: ::LOG_LEVEL
}
}.freeze
REDHAT_OPTS = {
platform: 'redhat',
version: '7.1',
log_level: ::LOG_LEVEL
}
}.freeze
UBUNTU_OPTS = {
platform: 'ubuntu',
version: '14.04',
log_level: ::LOG_LEVEL
}
}.freeze
shared_context 'database-stubs' do
before do