lib/chef/provisioning/driver.rb in chef-provisioning-0.16 vs lib/chef/provisioning/driver.rb in chef-provisioning-0.17

- old
+ new

@@ -268,27 +268,26 @@ # Allocate a load balancer # @param [ChefMetal::ActionHandler] action_handler The action handler # @param [ChefMetal::LoadBalancerSpec] lb_spec Frozen LB specification # @param [Hash] lb_options A hash of options to pass the LB - def allocate_load_balancer(action_handler, lb_spec, lb_options) + # @param [Array[ChefMetal::MachineSpec]] machine_specs An array of machine specs + # the load balancer should have + def allocate_load_balancer(action_handler, lb_spec, lb_options, machine_specs) end # Make the load balancer ready # @param [ChefMetal::ActionHandler] action_handler The action handler # @param [ChefMetal::LoadBalancerSpec] lb_spec Frozen LB specification # @param [Hash] lb_options A hash of options to pass the LB - def ready_load_balancer(action_handler, lb_spec, lb_options) + def ready_load_balancer(action_handler, lb_spec, lb_options, machine_specs) end # Destroy the load balancer # @param [ChefMetal::ActionHandler] action_handler The action handler # @param [ChefMetal::LoadBalancerSpec] lb_spec Frozen LB specification # @param [Hash] lb_options A hash of options to pass the LB def destroy_load_balancer(action_handler, lb_spec, lb_options) - end - - def update_load_balancer(action_handler, lb_spec, lb_options, opts = {}) end protected def add_prefix(machine_spec, action_handler)