fog-vsphere 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02340f09b01f87560e57c8f47bfe08049343bd97
4
- data.tar.gz: f9f5fae91d11275f8b3c3ae521e90396fff9f453
3
+ metadata.gz: 4f0ec189b2c86a9de01857b6141d2c016ec669d9
4
+ data.tar.gz: ee5fe4c242034a910496e05cb26d55f20f654954
5
5
  SHA512:
6
- metadata.gz: 06fe721f6ac5c8ecef80cca40cc39dbad8c90419cd431c455eeff6701eec1caae44a8833a56a2648c78fc1ff5625c50490e471dbdae0785a124e99fff89993f5
7
- data.tar.gz: f157514b1f881cb9967b0dc05ca402e987a1bb6381c1bface61050428a85fae5ff575d1715452e39eb7184ee5b5cf6c19da918c6992b03ab1a8bb75406dad3b6
6
+ metadata.gz: c478c37467c7ed6729aeefddf57d4dae6735b8e549a762dd121343a956f2b9b8e06e7ec7eb534e492e72fcc148402ed858d6aaac5bf73d248d56474087454129
7
+ data.tar.gz: d912a0f3cb4b4df88d0fed2c69b1b56a84c9889cea5b665224b7c58ccebc4ac8df2c827b72b0b1a1d911f764c3bc71260c4f99254ff9bd6af7561079466b1003
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## v0.6.2 3/7/2016
2
+
3
+ * Return tools_installed? correctly
4
+ * Expose numCoresPerSocket in vm_clone
5
+
1
6
  ## v0.6.1 3/4/2016
2
7
 
3
8
  * Refactor storage pod handling
@@ -159,7 +159,8 @@ module Fog
159
159
  end
160
160
 
161
161
  def tools_installed?
162
- tools_state != "toolsNotInstalled"
162
+ tools_state != 'toolsNotInstalled' ||
163
+ tools_version != 'guestToolsNotInstalled'
163
164
  end
164
165
 
165
166
  def tools_running?
@@ -61,6 +61,7 @@ module Fog
61
61
  # * 'storage_pod'<~String> - The storage pod / datastore cluster you'd like to use.
62
62
  # * 'transform'<~String> - Not documented - see http://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.vm.RelocateSpec.html
63
63
  # * 'numCPUs'<~Integer> - the number of Virtual CPUs of the Destination VM
64
+ # * 'numCoresPerSocket'<~Integer> - the number of cores per socket of the Destination VM
64
65
  # * 'memoryMB'<~Integer> - the size of memory of the Destination VM in MB
65
66
  # * customization_spec<~Hash>: Options are marked as required if you
66
67
  # use this customization_spec.
@@ -156,6 +157,7 @@ module Fog
156
157
  # http://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.vm.ConfigSpec.html
157
158
  # FIXME: pad this out with the rest of the useful things in VirtualMachineConfigSpec
158
159
  virtual_machine_config_spec.numCPUs = options['numCPUs'] if ( options.key?('numCPUs') )
160
+ virtual_machine_config_spec.numCoresPerSocket = options['numCoresPerSocket'] if options.key?('numCoresPerSocket')
159
161
  virtual_machine_config_spec.memoryMB = options['memoryMB'] if ( options.key?('memoryMB') )
160
162
  virtual_machine_config_spec.cpuHotAddEnabled = options['cpuHotAddEnabled'] if ( options.key?('cpuHotAddEnabled') )
161
163
  virtual_machine_config_spec.memoryHotAddEnabled = options['memoryHotAddEnabled'] if ( options.key?('memoryHotAddEnabled') )
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Vsphere
3
- VERSION = '0.6.1'
3
+ VERSION = '0.6.2'
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: 0.6.1
4
+ version: 0.6.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: 2016-03-04 00:00:00.000000000 Z
11
+ date: 2016-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core