clc-chef-metal-vsphere 0.3.43 → 0.3.44

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: e234d6bf6cbe645c6ba044c36f42fd3e13551216
4
- data.tar.gz: 7f2b3433333ae9d65fbc6676e23307e0117494a1
3
+ metadata.gz: 83a0ab36ed94d634003aacfec310ba1390a356b3
4
+ data.tar.gz: 0ba4446773ee6ce0075c8d74b8b65f4d7bbd230c
5
5
  SHA512:
6
- metadata.gz: 5f734114309764c25767e1d58847a11db80a00ff60ad7b356701e414ec3ae46fe67d911e3a23d0a4c7eb5c16eedd29bded761d730e575b5638f057dcab1b648f
7
- data.tar.gz: 6589f35e8fd1e46a69705e13ee21ffba006234287a27c1baaf7c9700f82221a053365517f3faca7599d8c2de4a0c068708c9c91aec7d3478fad8439f5fc969fe
6
+ metadata.gz: f9e3c7eae8302e2dc0ce82c7e530cd60188374674da3cc9496a7e89a932ba3bd29c4ea4d13cde25f0b6f23e8121630e5d82ff1631f7a013c396c5797616fdf39
7
+ data.tar.gz: a9f36a4b79604faf7dd8732c7a3f8c5542c62864c0c14c17fbe9a2c87a6fbd5612599cb5498890a67d7a9adbf2b847e49c6700b577e42adce3c403492ab02eb4
@@ -1,3 +1,3 @@
1
1
  module ChefMetalVsphere
2
- VERSION = '0.3.43'
2
+ VERSION = '0.3.44'
3
3
  end
@@ -152,7 +152,7 @@ module ChefMetalVsphere
152
152
 
153
153
  vm = find_vm(dc_name, options[:vm_folder], vm_name)
154
154
 
155
- unless options[:additional_disk_size_gb].nil?
155
+ if options[:additional_disk_size_gb].to_i > 0
156
156
  task = vm.ReconfigVM_Task(:spec => RbVmomi::VIM.VirtualMachineConfigSpec(:deviceChange => [virtual_disk_for(vm, options)]))
157
157
  task.wait_for_completion
158
158
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clc-chef-metal-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.43
4
+ version: 0.3.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - CenturyLink Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-12 00:00:00.000000000 Z
11
+ date: 2014-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef