lib/chef_metal/driver.rb in chef-metal-0.11.beta.2 vs lib/chef_metal/driver.rb in chef-metal-0.11.beta.3

- old
+ new

@@ -227,11 +227,11 @@ yield machine_spec if block_given? machine_spec end.to_a end - # Acquire machines in batch, in parallel if possible. + # Ready machines in batch, in parallel if possible. def ready_machines(action_handler, specs_and_options, parallelizer) parallelizer.parallelize(specs_and_options) do |machine_spec, machine_options| machine = ready_machine(add_prefix(machine_spec, action_handler), machine_spec, machine_options) yield machine if block_given? machine @@ -256,8 +256,12 @@ protected def add_prefix(machine_spec, action_handler) AddPrefixActionHandler.new(action_handler, "[#{machine_spec.name}] ") + end + + def get_private_key(name) + Cheffish.get_private_key(name, config) end end end