chef-provisioning 0.15.2 → 0.15.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/chef/provisioning.rb +6 -2
- data/lib/chef/provisioning/recipe_dsl.rb +1 -1
- data/lib/chef/provisioning/version.rb +1 -1
- data/lib/chef/resource/load_balancer.rb +1 -2
- data/lib/chef/resource/machine.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: 028eba9bf5dc6c670cf8f4273bc6442970bc12c8
|
4
|
+
data.tar.gz: 7b0ed9771bbd83bc75286dc019b72634bc4bf3b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48b12bc4c0825276dcc4da3da0ca6de79a422d934313c974b3b133b4c7f10814576858580a22e4addae2b1465a3cfd4dd98fdcc47c482ca982c34ad50edc83d2
|
7
|
+
data.tar.gz: ef7fe52f5e22e4dcfcfad842c7b97db089799d47264e948bd4e4661f66c97e1cb9742efdd285e441498c1594c8f669fcb467d1bfb6e66661c3f3672886fdf48c
|
data/CHANGELOG.md
CHANGED
data/lib/chef/provisioning.rb
CHANGED
@@ -45,8 +45,12 @@ module Provisioning
|
|
45
45
|
scheme = driver_url.split(':', 2)[0]
|
46
46
|
begin
|
47
47
|
require "chef/provisioning/driver_init/#{scheme}"
|
48
|
-
rescue LoadError
|
49
|
-
|
48
|
+
rescue LoadError
|
49
|
+
begin
|
50
|
+
require "chef_metal/driver_init/#{scheme}"
|
51
|
+
rescue LoadError
|
52
|
+
require "chef/provisioning/driver_init/#{scheme}"
|
53
|
+
end
|
50
54
|
end
|
51
55
|
driver_class = @@registered_driver_classes[scheme]
|
52
56
|
|
@@ -90,7 +90,7 @@ class Chef
|
|
90
90
|
|
91
91
|
class RunContext
|
92
92
|
def chef_provisioning
|
93
|
-
|
93
|
+
node.run_state[:chef_provisioning] ||= Chef::Provisioning::ChefRunData.new(config)
|
94
94
|
end
|
95
95
|
alias :chef_metal :chef_provisioning
|
96
96
|
end
|
@@ -43,7 +43,7 @@ class Chef
|
|
43
43
|
#
|
44
44
|
# Without this, the first resource's machine options will obliterate the second
|
45
45
|
# resource's machine options, and then unexpected (and undesired) things happen.
|
46
|
-
def load_prior_resource
|
46
|
+
def load_prior_resource(*args)
|
47
47
|
Chef::Log.debug "Overloading #{self.resource_name} load_prior_resource with NOOP"
|
48
48
|
end
|
49
49
|
|
@@ -54,4 +54,3 @@ class Chef
|
|
54
54
|
end
|
55
55
|
end
|
56
56
|
end
|
57
|
-
|
@@ -111,7 +111,7 @@ class Machine < Chef::Resource::LWRPBase
|
|
111
111
|
#
|
112
112
|
# Without this, the first resource's machine options will obliterate the second
|
113
113
|
# resource's machine options, and then unexpected (and undesired) things happen.
|
114
|
-
def load_prior_resource
|
114
|
+
def load_prior_resource(*args)
|
115
115
|
Chef::Log.debug "Overloading #{self.resource_name} load_prior_resource with NOOP"
|
116
116
|
end
|
117
117
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-provisioning
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Keiser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-ssh
|