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 966daa4abc
2 changed files with 5 additions and 3 deletions

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