rackspace/chef_vpc_toolkit — pull request #11 by derekhiggins (2012-01-07 10:13:54+00:00)
Title: Check if known_hosts exists before trying to edit it

rake:create fails if known_hosts doesn't exist

[derekh chef_vpc_toolkit]$ rake create
Server group ID 22 created.
Polling for server(s) to come online (this may take a couple minutes)...
Group ID: 22
name: test
description: test description
domain name: vpc
VPN gateway IP:
Servers:
name: login (id: 50)
status: Pending
OpenVPN server: true
--
name: client1 (id: 51)
status: Pending
--
rake aborted!
No such file or directory - /home/derekh/.ssh/known_hosts

Tasks: TOP => group:poll
(See full trace by running task with --trace)
[derekh chef_vpc_toolkit]$