Browse Source

Style and lint fixes to support newer ChefDK

Change-Id: Ie45076f0ee36e880c9a6080f2b330982e40c282c
Samuel Cassiba 2 years ago
parent
commit
77060a6212
3 changed files with 9 additions and 7 deletions
  1. 4
    4
      README.md
  2. 2
    0
      metadata.rb
  3. 3
    3
      spec/spec_helper.rb

+ 4
- 4
README.md View File

@@ -18,8 +18,8 @@ Requirements
18 18
 ============
19 19
 
20 20
 - Chef 12 or higher
21
-- chefdk 0.9.0 for testing (also includes berkshelf for cookbook dependency
22
-  resolution)
21
+- chefdk 0.9.0 or higher for testing (also includes berkshelf for cookbook
22
+  dependency resolution)
23 23
 
24 24
 Platform
25 25
 ========
@@ -33,8 +33,8 @@ Cookbooks
33 33
 
34 34
 The following cookbooks are dependencies:
35 35
 
36
-- 'openstack-common', '>= 13.0.0'
37
-- 'openstack-identity', '>= 13.0.0'
36
+- 'openstack-common', '>= 14.0.0'
37
+- 'openstack-identity', '>= 14.0.0'
38 38
 
39 39
 Attributes
40 40
 ==========

+ 2
- 0
metadata.rb View File

@@ -2,6 +2,8 @@
2 2
 name 'openstack-network'
3 3
 maintainer 'openstack-chef'
4 4
 maintainer_email 'openstack-dev@lists.openstack.org'
5
+issues_url 'https://launchpad.net/openstack-chef' if respond_to?(:issues_url)
6
+source_url 'https://github.com/openstack/cookbook-openstack-network' if respond_to?(:source_url)
5 7
 license 'Apache 2.0'
6 8
 description 'Installs and configures the OpenStack Network API Service and various agents and plugins'
7 9
 long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))

+ 3
- 3
spec/spec_helper.rb View File

@@ -12,17 +12,17 @@ REDHAT_OPTS = {
12 12
   platform: 'redhat',
13 13
   version: '7.1',
14 14
   log_level: LOG_LEVEL
15
-}
15
+}.freeze
16 16
 UBUNTU_OPTS = {
17 17
   platform: 'ubuntu',
18 18
   version: '14.04',
19 19
   log_level: LOG_LEVEL
20
-}
20
+}.freeze
21 21
 CENTOS_OPTS = {
22 22
   platform: 'centos',
23 23
   version: '6.5',
24 24
   log_level: LOG_LEVEL
25
-}
25
+}.freeze
26 26
 
27 27
 shared_context 'neutron-stubs' do
28 28
   before do

Loading…
Cancel
Save