diff --git a/lib/chef/provisioning/driver.rb b/lib/chef/provisioning/driver.rb index 79ecbe4c..8ca84e04 100644 --- a/lib/chef/provisioning/driver.rb +++ b/lib/chef/provisioning/driver.rb @@ -303,7 +303,7 @@ def add_prefix(machine_spec, action_handler) end def get_private_key(name) - Cheffish.get_private_key(name, config) + Cheffish.get_private_key(name, config) || Cheffish.get_private_key(name) end end end