chef-boneyard / chef-provisioning-vsphere

DEPRECATED: A chef-provisioning provisioner for VMware vSphere
MIT License
17 stars 15 forks source link

ready_timeout fix without breaking previous work #69

Closed tuccimon closed 6 years ago

tuccimon commented 6 years ago

Description

According to the documentation, the .kitchen.yml file contains the :ready_timeout parameter under machine_options directly - not bootstrap_options. Because bootstrap_options is passed to the ip_to_bootstrap function, :ready_timeout is not visible.

Issues Resolved

The commit https://github.com/chef-partners/chef-provisioning-vsphere/commit/0040fb83809f7ed2d0723c1dc4020f984e8c450a essentially broke mine (and I'm guessing others who are following the doc's standard for the .kitchen.yml file). Added a variable that gets passed the :ready_timeout, but in case it's nil it will default to 90 so as to no longer break.

Check List

tuccimon commented 6 years ago

Failed due to too many lines in class. Will try resubmitting.