deis/deis — pull request #930 by jperville (2014-05-08 06:14:27+00:00)
Title: fix(Makefile): fix 'check-fleet' rule for $FLEETCTL_TUNNEL with explicit port.

Fixed the fleetctl version check in Makefile when $FLEETCTL_TUNNEL includes a port (eg. `FLEETCTL_TUNNEL=host:port` instead of `FLEETCTL_TUNNEL=host`).

```sh
$ FLEETCTL_TUNNEL=127.0.0.1:4222 make check-fleet # breaks because of invalid generated ssh command-line
ssh: Could not resolve hostname 127.0.0.1:4222: Name or service not known
Your fleetctl client version should match the server. Local version: fleetctl version 0.3.0, server version: . Uninstall your local version and install the latest build from https://github.com/coreos/fleet/releases
make: *** [check-fleet] Error 1
$ git checkout fleetctl-version-check-with-port
Switched to branch 'fleetctl-version-check-with-port'
$ FLEETCTL_TUNNEL=127.0.0.1:4222 make check-fleet # works as expected with explicit port
Your fleetctl client version should match the server. Local version: fleetctl version 0.3.0, server version: fleetctl version 0.2.0. Uninstall your local version and install the latest build from https://github.com/coreos/fleet/releases
make: *** [check-fleet] Error 1
$ FLEETCTL_TUNNEL=some.host make check-fleet # also works as expected with implicit port
ssh: Could not resolve hostname some.host: Name or service not known
Your fleetctl client version should match the server. Local version: fleetctl version 0.3.0, server version: . Uninstall your local version and install the latest build from https://github.com/coreos/fleet/releases
make: *** [check-fleet] Error 1
```