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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ed2f480aec6f5f87940296ee82036da8508e31c
4
- data.tar.gz: fa8ba10b8b84887e45f5052510be5a2187871eaa
3
+ metadata.gz: 3060d7dee65f41ba3edec09e316d47e29f938b6e
4
+ data.tar.gz: 2b3c3fc8acc699e69fb3ce8fcbe36490a0fb4e8e
5
5
  SHA512:
6
- metadata.gz: 4bbc12e9d4233dd5e49af44cffe2b3b5cbf55b6033e9e3adfdcce9ba5ccbba7db48d9959a253b48d2304262d7c990bdf67aed079f2f6ca132677c50ab11a4d34
7
- data.tar.gz: 42fc5f8a3d6dd178f846d3be327970b8b3699fb418ff50a9e4d13307daab3d4a70b2cbfe4f7efa2119f2de5976a773065d372eaba2e1488cc05298995503e77d
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.17'
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"]
@@ -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 ]
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.17
4
+ version: 0.1.0.alpha.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Wrock