infochimps-labs/ironfan — pull request #151 by meekmichael (2012-08-20 20:13:01+00:00)
Title: Fix for launches across AWS Regions

When I run ironfan-homebase on a us-east host and launch a cluster in us-west, I get a Errno::ECONNREFUSED, although the host is reachable a few moments later.

This is probably due to some amazon-specific inter-zone routing quirks. I do not see this issue when I run my knife commands on a host outside of the cloud.

A similar fix exists in the knife-ec2 plugin, where this code appears to have come from.

This is a re-submit of my pull request that has been cleaned up