Browse Source

Style and lint fixes to support newer ChefDK

Change-Id: Iccd706e2b804065c343c317f63783592e091c415
Depends-On: I6ce4587caa3ae68ddbd3ef1a521aaf46f4840b2c
Depends-On: I34e4c7b29ff7c36c91245d90fb0b6897847cd22f
Samuel Cassiba 2 years ago
parent
commit
1e41bc7811
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

@@ -10,8 +10,8 @@ Requirements
10 10
 ============
11 11
 
12 12
 - Chef 12 or higher
13
-- chefdk 0.9.0 for testing (also includes berkshelf for cookbook dependency
14
-  resolution)
13
+- chefdk 0.9.0 or higher for testing (also includes berkshelf for cookbook
14
+  dependency resolution)
15 15
 
16 16
 Platform
17 17
 ========
@@ -25,8 +25,8 @@ Cookbooks
25 25
 
26 26
 The following cookbooks are dependencies:
27 27
 
28
-- 'openstack-common', '>= 13.0.0'
29
-- 'openstack-identity', '>= 13.0.0'
28
+- 'openstack-common', '>= 14.0.0'
29
+- 'openstack-identity', '>= 14.0.0'
30 30
 
31 31
 Attributes
32 32
 ==========

+ 2
- 0
metadata.rb View File

@@ -2,6 +2,8 @@
2 2
 name 'openstack-orchestration'
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-orchestration' if respond_to?(:source_url)
5 7
 license 'Apache 2.0'
6 8
 description 'Installs and configures the Heat Service'
7 9
 long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))

+ 3
- 3
spec/spec_helper.rb View File

@@ -11,17 +11,17 @@ REDHAT_OPTS = {
11 11
   platform: 'redhat',
12 12
   version: '7.1',
13 13
   log_level: ::LOG_LEVEL
14
-}
14
+}.freeze
15 15
 UBUNTU_OPTS = {
16 16
   platform: 'ubuntu',
17 17
   version: '14.04',
18 18
   log_level: ::LOG_LEVEL
19
-}
19
+}.freeze
20 20
 SUSE_OPTS = {
21 21
   platform: 'suse',
22 22
   version: '11.3',
23 23
   log_level: ::LOG_LEVEL
24
-}
24
+}.freeze
25 25
 
26 26
 shared_context 'orchestration_stubs' do
27 27
   before do

Loading…
Cancel
Save