fog-vsphere 1.11.1 → 1.11.2

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: 6caeac57a6e6da52cfbc108211e23b35f04ee296
4
- data.tar.gz: 166a5bc06f3d24d72129130aebaa9a38fe494d5b
3
+ metadata.gz: 8f7885912d59e38376666aabf47b11855a457e99
4
+ data.tar.gz: 1a84d71a6d17751e49a1ccb64fcbe5b6564efae6
5
5
  SHA512:
6
- metadata.gz: 0b3ee4aab1f9786c7118776d79681863714c689fa39c84b2d7bf45449c80f54452d97031954eea8d2558dee9ef72157d27996580f4c2249df9dea123689ef1e8
7
- data.tar.gz: 860cdbca83dca1638fea14a8150e0f3ee46983a6409ce21da964fa9df817e7e9a301d14ac3ce3dbc8fa1dabcf9a88e93d0431512eb4b954fd0c70893b1791325
6
+ metadata.gz: 466b2ca1d744fac648e5abe6183ca89583e3398abe78d1c99669452025d38a2d52e6229abcddf4843099d45519020edf82549ecba0345c32d6e64b9dde479076
7
+ data.tar.gz: f0b2c3e5a7cf517b8a95bcd12537b381e83bed40626185c04c393276e4ac771d195bbb87a1a6025d43a2b1d2526f8c2a4b59df937e012d23edd0304876c5cb24
@@ -1,3 +1,7 @@
1
+ ## v1.11.2
2
+
3
+ * Prevent failing when cloning from template to different cluster
4
+
1
5
  ## v1.11.1
2
6
 
3
7
  * Use key to identify dvPort Group
@@ -63,6 +63,7 @@
63
63
  * Tejas Ravindra Mandke <tejas@identified.com>
64
64
  * Timo Goebel <timo.goebel@dm.de>
65
65
  * Timur Alperovich <timur@maginatics.com>
66
+ * Tyler Gregory <01100010011001010110010101110000@users.noreply.github.com>
66
67
  * Wesley Beary <geemus+github@gmail.com>
67
68
  * Wesley Beary <geemus@gmail.com>
68
69
  * Xavier Fontrodona <xavier.fontrodona@safelayer.com>
@@ -115,6 +115,9 @@ module Fog
115
115
  cluster_name = options['resource_pool'][0]
116
116
  pool_name = options['resource_pool'][1]
117
117
  resource_pool = get_raw_resource_pool(pool_name, cluster_name, options['datacenter'])
118
+ elsif ( options.key?('resource_pool') && options['resource_pool'].is_a?(Array) && options['resource_pool'].length == 2 && options['resource_pool'][1] == 'Resources')
119
+ cluster_name = options['resource_pool'][0]
120
+ resource_pool = get_raw_resource_pool(nil, cluster_name, options['datacenter'])
118
121
  elsif ( vm_mob_ref.resourcePool == nil )
119
122
  # If the template is really a template then there is no associated resource pool,
120
123
  # so we need to find one using the template's parent host or cluster
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Vsphere
3
- VERSION = '1.11.1'.freeze
3
+ VERSION = '1.11.2'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.1
4
+ version: 1.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - J.R. Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-06 00:00:00.000000000 Z
11
+ date: 2017-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core