Module: Chef::DSL::Recipe
- Defined in:
- lib/chef/provisioning/vsphere_driver.rb
Overview
The main Chef module for the the Recipe in side of Chef’s DSL
Instance Method Summary collapse
-
#with_vsphere_driver(driver_options, &block) ⇒ Object
Creates the url object for Chef-Provisioning to leverage.
Instance Method Details
#with_vsphere_driver(driver_options, &block) ⇒ Object
Creates the url object for Chef-Provisioning to leverage.
16 17 18 19 20 21 |
# File 'lib/chef/provisioning/vsphere_driver.rb', line 16 def with_vsphere_driver(, &block) url = ChefProvisioningVsphere::VsphereDriver.canonicalize_url( nil, )[0] with_driver url, , &block end |