kitchen-nodes 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e21dedb1196582e2d056a4f754ee7c493f9d4f96
|
|
4
|
+
data.tar.gz: 7f0d94dd838edb6e24291c965dba01f3426e644c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a2d9b474d7c9f356389ebeb5fc922e4ebd8cbcee8ec40359108726d683e72091f7ecbdd6e21d78bb2220007b834e7952c3aba56ccc6e835665cfd5cd4ab3c42
|
|
7
|
+
data.tar.gz: 8b1fca4f71d2ef9e4add0ade6ceffdfcb6f198f43a515671e5a527247e45c62d48d2691120e9b9080c9a31929007a48b4e32e9fac8bea4ca235287913f0c6431
|
data/.kitchen.yml
CHANGED
|
@@ -6,6 +6,7 @@ driver:
|
|
|
6
6
|
|
|
7
7
|
provisioner:
|
|
8
8
|
name: nodes
|
|
9
|
+
roles_path: test/fixtures/roles
|
|
9
10
|
|
|
10
11
|
platforms:
|
|
11
12
|
- name: ubuntu-12.04
|
|
@@ -22,7 +23,7 @@ platforms:
|
|
|
22
23
|
suites:
|
|
23
24
|
- name: node1
|
|
24
25
|
run_list:
|
|
25
|
-
-
|
|
26
|
+
- role[test_role]
|
|
26
27
|
- recipe[node-tests::node1]
|
|
27
28
|
attributes:
|
|
28
29
|
consul:
|
|
@@ -29,8 +29,8 @@ module Kitchen
|
|
|
29
29
|
|
|
30
30
|
def fetch_role(name, included_by)
|
|
31
31
|
role_file = File.join(@role_dir, "#{name}.json")
|
|
32
|
-
Chef::Role.json_create(JSON.parse(File.read(role_file)))
|
|
33
|
-
rescue Chef::Exceptions::RoleNotFound
|
|
32
|
+
::Chef::Role.json_create(JSON.parse(File.read(role_file)))
|
|
33
|
+
rescue ::Chef::Exceptions::RoleNotFound
|
|
34
34
|
role_not_found(name, included_by)
|
|
35
35
|
end
|
|
36
36
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kitchen-nodes
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Wrock
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-12-
|
|
11
|
+
date: 2015-12-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: net-ping
|
|
@@ -148,6 +148,7 @@ files:
|
|
|
148
148
|
- spec/unit/nodes_spec.rb
|
|
149
149
|
- spec/unit/stubs/ifconfig.txt
|
|
150
150
|
- spec/unit/stubs/ip.txt
|
|
151
|
+
- test/fixtures/roles/test_role.json
|
|
151
152
|
- test/integration/cookbooks/node-tests/libraries/helper.rb
|
|
152
153
|
- test/integration/cookbooks/node-tests/metadata.rb
|
|
153
154
|
- test/integration/cookbooks/node-tests/recipes/node1.rb
|
|
@@ -183,6 +184,7 @@ test_files:
|
|
|
183
184
|
- spec/unit/nodes_spec.rb
|
|
184
185
|
- spec/unit/stubs/ifconfig.txt
|
|
185
186
|
- spec/unit/stubs/ip.txt
|
|
187
|
+
- test/fixtures/roles/test_role.json
|
|
186
188
|
- test/integration/cookbooks/node-tests/libraries/helper.rb
|
|
187
189
|
- test/integration/cookbooks/node-tests/metadata.rb
|
|
188
190
|
- test/integration/cookbooks/node-tests/recipes/node1.rb
|