puppetlabs/puppetlabs-cloud-provisioner — pull request #27 by ccaum (2011-10-13 21:44:33+00:00)
Title: Bug/master/9620

When getting the certname from the agent, the keyfile wasn't being passed to ssh_remote_execute. This caused an authentication failure. Unfortunately, this wasn't clear from the error. This commit also catches the Net::SSH::AuthenticationFailure excption inside the ssh_remote_execute and passes all other exceptions to be handled by the calling method.

It also properly interfaces with the dashboard face to get sign the certificate.