clc-chef-metal-vsphere 0.3.30 → 0.3.31

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: 27f154fb31aaea728eb04138b42d9f28fd8f136c
4
- data.tar.gz: a175a18eb3636ab0b76b2ed035e4aa1c201c9312
3
+ metadata.gz: 8c0a832a001dd11d0b5e528c774c8edb18f1c328
4
+ data.tar.gz: bf3b36cfa4761769d860054296e1a00228aed047
5
5
  SHA512:
6
- metadata.gz: 5d50c11b790a895e66b1a744f0f1f38edbc613cfe708746f8007666402a524157d2486ea6d5350d8d772780c71a5b582cb2805c1f7bfd228c2673eceecd173b3
7
- data.tar.gz: d07973dd2a76f45f2741af770e0e2588f10869515980ca737ebfaee663db43819529503159746b6b4e75cda83399919ed42e1ca72bc182bd53104aeb56de28f6
6
+ metadata.gz: 4f00a35cef49d0ea625a0d54f6fb2c01654700c262038f53aa708acaeb8bdbb3e6d7b59bc4c98537c26930837c475fe39de053e730be2463d82f1f3a9174b8dc
7
+ data.tar.gz: 174a46f4fdffc88fae06522ec1f4e21191c667b874c92fe8ebe971f6550776b68d8980244fcb21406e57330fad363da96f7cd124e471e833e19ae182a52a93c1
@@ -1,3 +1,3 @@
1
1
  module ChefMetalVsphere
2
- VERSION = '0.3.30'
2
+ VERSION = '0.3.31'
3
3
  end
@@ -207,10 +207,11 @@ module ChefMetalVsphere
207
207
  end
208
208
 
209
209
  if transport.nil? || !transport.available?
210
- action_handler.report_progress "waiting for customizations to complete and find #{vm_ip}"
210
+ action_handler.report_progress "waiting up to #{machine_options[:ready_timeout]} seconds for customizations to complete and find #{vm_ip}"
211
211
  now = Time.now.utc
212
+
212
213
  until (Time.now.utc - now) > machine_options[:ready_timeout] || (vm.guest.net.map { |net| net.ipAddress}.flatten).include?(vm_ip) do
213
- puts "IP addresses on #{machine_spec.name} are #{vm.guest.net.map { |net| net.ipAddress}.flatten}"
214
+ action_handler.report_progress "IP addresses on #{machine_spec.name} are #{vm.guest.net.map { |net| net.ipAddress}.flatten}"
214
215
  sleep 5
215
216
  end
216
217
  if !(vm.guest.net.map { |net| net.ipAddress}.flatten).include?(vm_ip)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clc-chef-metal-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.30
4
+ version: 0.3.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - CenturyLink Cloud