Style and lint fixes to support newer ChefDK

Change-Id: Ie45076f0ee36e880c9a6080f2b330982e40c282c
(cherry picked from commit 77060a6212)
This commit is contained in:
Samuel Cassiba 2016-07-06 11:50:12 -07:00 committed by Edgar Magana
parent a1a27d1c9f
commit 908ee24694
2 changed files with 5 additions and 3 deletions

View File

@ -2,6 +2,8 @@
name 'openstack-network'
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-network' if respond_to?(:source_url)
license 'Apache 2.0'
description 'Installs and configures the OpenStack Network API Service and various agents and plugins'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))

View File

@ -12,17 +12,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
CENTOS_OPTS = {
platform: 'centos',
version: '6.5',
log_level: LOG_LEVEL
}
}.freeze
shared_context 'neutron-stubs' do
before do