chef-metal-fogsphere 0.1.0.alpha.17 → 0.1.0.alpha.18
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 +1 -7
- 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: 3060d7dee65f41ba3edec09e316d47e29f938b6e
|
4
|
+
data.tar.gz: 2b3c3fc8acc699e69fb3ce8fcbe36490a0fb4e8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b17e1bfda16c6ea8c5d3891a68cb65dd2b3093393d75dc6c6517cb10a577498b583d1450d160e3ab07be441fbdf309628301f1fc3548b95c6e94fb332f8c739
|
7
|
+
data.tar.gz: 4749a9cc2a7785da0b94e2293f9106d894ec0b745cb4248be7a8d2873c369949ccfd5fb54d4d765cb28ffcd6fc0d0046ccfd77fa9542e8c17e3cb746927fdada
|
@@ -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.18'
|
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
@@ -32,15 +32,9 @@ module ChefMetalVsphere
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def self.compute_options_for(id, config)
|
35
|
-
compute_options = { :provider => 'vsphere'}
|
35
|
+
compute_options = { :provider => 'vsphere', :vsphere_server => id}
|
36
36
|
new_config = { :driver_options => { :compute_options => compute_options }}
|
37
37
|
|
38
|
-
# Set the identifier from the URL
|
39
|
-
if id && id != ''
|
40
|
-
config[:vsphere_server] = id
|
41
|
-
end
|
42
|
-
id = config[:vsphere_server]
|
43
|
-
|
44
38
|
config = Cheffish::MergedConfig.new(new_config, config)
|
45
39
|
|
46
40
|
[ config, id ]
|