chef-zero 4.2.0 → 4.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chef_zero/rspec.rb +5 -4
- data/lib/chef_zero/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a494204cfb5a14c3b259ba81661b4e618fbf88d7
|
4
|
+
data.tar.gz: cbbffbf9c1b738694c84975a51fb37965f0d3fb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddd3f8df7cb10711dc9098075704dbf4713fd99e035a83739bcaa4b9f463b57ffb6c9c40b70f473f3c9299894b7ff3f457b4721c10c3b27e5abd520b4d4b1314
|
7
|
+
data.tar.gz: b0ce1891ade2af25515236d244fb37e5f4b496909719c3a8e2793a97e8a16ef7c006c5bc369161fd6e34ef142547a32cbe9b588af0492dea6c47ec33609511f4
|
data/lib/chef_zero/rspec.rb
CHANGED
@@ -54,16 +54,17 @@ module ChefZero
|
|
54
54
|
end
|
55
55
|
|
56
56
|
@@chef_server_options = { port: 8900, signals: false, log_requests: true, server_scope: :each }
|
57
|
-
chef_server_options
|
58
|
-
chef_server_options.merge
|
59
|
-
|
60
|
-
Log.debug("Starting Chef server with options #{chef_server_options}")
|
57
|
+
chef_server_options = self.chef_server_options
|
58
|
+
chef_server_options = chef_server_options.merge(chef_zero_opts) if self.respond_to?(:chef_zero_opts)
|
59
|
+
chef_server_options = chef_server_options.merge(tags.last) if tags.last.is_a?(Hash)
|
61
60
|
|
62
61
|
old_chef_server_url = nil
|
63
62
|
old_node_name = nil
|
64
63
|
old_client_key = nil
|
65
64
|
|
66
65
|
before chef_server_options[:server_scope] do
|
66
|
+
Log.debug("Starting Chef server with options #{chef_server_options}")
|
67
|
+
|
67
68
|
ChefZero::RSpec.set_server_options(chef_server_options)
|
68
69
|
|
69
70
|
if chef_server_options[:organization]
|
data/lib/chef_zero/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-zero
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Keiser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-log
|