infochimps/cluster_chef — pull request #93 by pcn (2012-01-10 07:39:20+00:00)
Title: Easier ssh keypair naming

- Checks for ssh_identity_dir/_rsa
- Checks for ssh_identity_dir/
- Checks for ssh_identity_dir/id_
- falls back on ssh_identity_dir/.pem

cloud.ssh_identity_dir needs to be set to ~/.ssh to work properly, otherwise
strange things happen in ~/.chef/ec2_keys.

This is all to allow for an AWS keypair name in ec2 to be e.g. "staging" and the
associated file be "~/.ssh/id_staging" or "~/.ssh/staging_rsa".