chef-provisioning-vsphere 2.0.3 → 2.0.4

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: e921ec7be5d161723bdd1e333b4d1a93ec4a9e09
4
- data.tar.gz: 2f3c474699229fdfa75df67513b7570e1ce86c15
3
+ metadata.gz: c4e71e31626651f823006e5840334c2657d737a5
4
+ data.tar.gz: f681531d8693a2cf0339c56fb9dd79345eba07fc
5
5
  SHA512:
6
- metadata.gz: 2e773ae65c3cefceb7f46a0d3c2dbc1a7242d80c3b1c998b35485027fb1dac2a15d97bae89d57b1194a7a3d87c6ac327229370ed18514b8fb2bd7cea3ce727c7
7
- data.tar.gz: c3dccf9cb837eb675865706276cb5a0d1239488dbd4c23e21d8b57fb4cd3b26a92a641c844eb82a885b535417d5791e89b11bbb5b91de65d231a30346a1caba8
6
+ metadata.gz: 46304efbe3b4c6601a4ffd873db3aa53ed7c9ce565ea62e113161b11694ae1d723283bea0dd12f5d1c62d8281bec717570e4f0c90b3cc0df8072049634ea8011
7
+ data.tar.gz: 6b06cea303a50af9937253ffeb72564df58fe9e76540596d5116374b404258dfc7baa0e2eae3cff009a14d895d9cdc98b92261607818b78d0e9e59ab6cb9e03b
data/CHANGELOG.md CHANGED
@@ -1,7 +1,14 @@
1
1
  # Change Log
2
2
 
3
- ## [2.0.3](https://github.com/chef-partners/chef-provisioning-vsphere/tree/2.0.3) (2017-05-22)
4
- [Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v2.0.2...2.0.3)
3
+ ## [2.0.4](https://github.com/chef-partners/chef-provisioning-vsphere/tree/2.0.4) (2017-05-24)
4
+ [Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v2.0.3...2.0.4)
5
+
6
+ **Merged pull requests:**
7
+
8
+ - Issue 35 [\#36](https://github.com/chef-partners/chef-provisioning-vsphere/pull/36) ([jcalonsoh](https://github.com/jcalonsoh))
9
+
10
+ ## [v2.0.3](https://github.com/chef-partners/chef-provisioning-vsphere/tree/v2.0.3) (2017-05-22)
11
+ [Full Changelog](https://github.com/chef-partners/chef-provisioning-vsphere/compare/v2.0.2...v2.0.3)
5
12
 
6
13
  **Closed issues:**
7
14
 
@@ -345,7 +345,7 @@ module ChefProvisioningVsphere
345
345
  # this will be the static ip to assign
346
346
  # or the ip reported back by the vm if using dhcp
347
347
  # it *may* be nil if just cloned
348
- vm_ip = ip_to_bootstrap(bootstrap_options, vm)
348
+ vm_ip = ip_to_bootstrap(bootstrap_options, vm) || vm.guest.ipAddress
349
349
  transport = nil
350
350
  unless vm_ip.nil?
351
351
  transport = transport_for(machine_spec, bootstrap_options[:ssh], vm_ip)
@@ -461,7 +461,7 @@ module ChefProvisioningVsphere
461
461
  msg = [msg1, msg2].join
462
462
  action_handler.report_progress msg
463
463
 
464
- vm_ip = @vm_helper.ip || ip_to_bootstrap(bootstrap_options, vm)
464
+ vm_ip = ip_to_bootstrap(bootstrap_options, vm) || vm.guest.ipAddress
465
465
  until transport_for(
466
466
  machine_spec,
467
467
  machine_options[:bootstrap_options][:ssh],
@@ -470,7 +470,7 @@ module ChefProvisioningVsphere
470
470
  action_handler.report_progress(
471
471
  "IP addresses found: #{all_ips_for(vm)}"
472
472
  )
473
- vm_ip = @vm_helper.ip || ip_to_bootstrap(bootstrap_options, vm)
473
+ vm_ip = ip_to_bootstrap(bootstrap_options, vm) || vm.guest.ipAddress
474
474
  if has_ip?(vm_ip, vm)
475
475
  transport_for(
476
476
  machine_spec,
@@ -2,5 +2,5 @@
2
2
  # Provisions machines in vSphere.
3
3
  module ChefProvisioningVsphere
4
4
  # The version of this awesome Gem. BOOM.
5
- VERSION = "2.0.3".freeze
5
+ VERSION = "2.0.4".freeze
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-provisioning-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - CenturyLink Cloud
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-05-22 00:00:00.000000000 Z
12
+ date: 2017-05-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rbvmomi