chef-metal-fogsphere 0.1.0.alpha.16 → 0.1.0.alpha.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/chef-metal-fogsphere.gemspec +1 -1
- data/lib/clc_driver.rb +0 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ed2f480aec6f5f87940296ee82036da8508e31c
|
4
|
+
data.tar.gz: fa8ba10b8b84887e45f5052510be5a2187871eaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bbc12e9d4233dd5e49af44cffe2b3b5cbf55b6033e9e3adfdcce9ba5ccbba7db48d9959a253b48d2304262d7c990bdf67aed079f2f6ca132677c50ab11a4d34
|
7
|
+
data.tar.gz: 42fc5f8a3d6dd178f846d3be327970b8b3699fb418ff50a9e4d13307daab3d4a70b2cbfe4f7efa2119f2de5976a773065d372eaba2e1488cc05298995503e77d
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "chef-metal-fogsphere"
|
7
|
-
gem.version = '0.1.0.alpha.
|
7
|
+
gem.version = '0.1.0.alpha.17'
|
8
8
|
gem.license = 'Apache 2.0'
|
9
9
|
gem.authors = ["Matt Wrock"]
|
10
10
|
gem.email = ["matt@centurylinkcloud.com"]
|
data/lib/clc_driver.rb
CHANGED
@@ -27,14 +27,12 @@ module ChefMetalVsphere
|
|
27
27
|
|
28
28
|
def self.canonicalize_url(driver_url, config)
|
29
29
|
id = driver_url.split(':')[1]
|
30
|
-
config = { :driver_options => config }
|
31
30
|
config, id = compute_options_for(id, config)
|
32
31
|
[ "vsphere:#{id}", config ]
|
33
32
|
end
|
34
33
|
|
35
34
|
def self.compute_options_for(id, config)
|
36
35
|
compute_options = { :provider => 'vsphere'}
|
37
|
-
compute_options = compute_options.merge(config[:driver_options])
|
38
36
|
new_config = { :driver_options => { :compute_options => compute_options }}
|
39
37
|
|
40
38
|
# Set the identifier from the URL
|