chef-metal-fogsphere 0.1.0.alpha.10 → 0.1.0.alpha.11
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 +5 -1
- 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: 63ebbbf5d0c1de8629e0c793577dffd75490d729
|
4
|
+
data.tar.gz: 655109baa14e7aed66eb51f4451905491b041c2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40294f8ff205245e00bb92c0db8b571da1730c6759b8dc49d04b875936ea7d9c6abc73d31206a2cff1aa8ef63ada25159bd2345705a839e66b3557e7bb5c7a1f
|
7
|
+
data.tar.gz: 57fa200681e3a2c26d23f1043afd852b2a44952444fb4f9310ffbf374ee8da4463ca8e7d94e2757a02737c31f17b2770c5f7778a69df391a2a3c0e6488204784
|
@@ -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.11'
|
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
@@ -22,9 +22,13 @@ module ChefMetalVsphere
|
|
22
22
|
} unless defined? DEFAULT_OPTIONS
|
23
23
|
|
24
24
|
def self.from_url(driver_url, config)
|
25
|
+
VsphereDriver.new(driver_url, config)
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.canonicalize_url(driver_url, config)
|
25
29
|
id = driver_url.split(':')[1]
|
26
30
|
config, id = compute_options_for(id, config)
|
27
|
-
|
31
|
+
[ "vsphere:#{provider}:#{id}", config ]
|
28
32
|
end
|
29
33
|
|
30
34
|
def self.compute_options_for(id, config)
|