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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb3309495bb4b87c4374bbf7a482ee48a8538d81
4
- data.tar.gz: e55ea5259139446b8d9406812f133e48b0568a69
3
+ metadata.gz: 63ebbbf5d0c1de8629e0c793577dffd75490d729
4
+ data.tar.gz: 655109baa14e7aed66eb51f4451905491b041c2e
5
5
  SHA512:
6
- metadata.gz: 7839300fe3118ffdb6c4fb345cb45cc3098b7b005dbe71dd75485db53b97fe245114e4554f5bad94fca04b74e538605d6d321c0d4563221e73319057f981f2b6
7
- data.tar.gz: 2efba509aa3c6f33e97ea25cf8c4b2b849b6a377f9753d4c4cff91d5f986916a9956ae69eaa54dc7d64fe2173213a9145e8de3e401d8242fe0a246e3da12ec86
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.10'
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"]
@@ -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
- VsphereDriver.new("vsphere:#{id}", config)
31
+ [ "vsphere:#{provider}:#{id}", config ]
28
32
  end
29
33
 
30
34
  def self.compute_options_for(id, config)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-metal-fogsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.alpha.10
4
+ version: 0.1.0.alpha.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Wrock