module Chef::DSL::Recipe

The main Chef module for the the Recipe in side of Chef's DSL

Public Instance Methods

with_vsphere_driver(driver_options, &block) click to toggle source

Creates the url object for Chef-Provisioning to leverage.

@param [Object] driver_options Used from the Chef Provisioning to connect @param [Object] block TODO

# File lib/chef/provisioning/vsphere_driver.rb, line 16
def with_vsphere_driver(driver_options, &block)
  url = ChefProvisioningVsphere::VsphereDriver.canonicalize_url(
    nil, driver_options
  )[0]
  with_driver url, driver_options, &block
end