test/cluster: Cleanup iptables rules

Closes #370

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
slugbuilder: Update buildpacks

Minor bumps, nothing major.

https://github.com/heroku/heroku-buildpack-python/compare/v53...v54
https://github.com/heroku/heroku-buildpack-java/compare/83549077...e99a5f80
https://github.com/heroku/heroku-buildpack-scala/compare/26cb564a...f5415da1
https://github.com/heroku/heroku-buildpack-php/compare/v50...v51

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
Merge pull request #662 from flynn/update-buildpacks

slugbuilder: Update buildpacks
pkg/exec: Allow host.Job configuration to exec.

If using the host.Job route, the caller may supply container configuration such as port requisitions.

The previously available fields on exec.Cmd remain available for holistic compatibility with the standard library's os.exec, but will be disregarded iff supplying the host.Job configuration directly.

Signed-off-by: Eric Myhre <eric@flynn.io>
test: Add test shell app.

This test application persists after launch and listens for commands on a socket; this enables a series of manipulations on a single container.

This should be useful for tests that need to perform an action in a container, then manipulate the broader flynn system, then verify the impacts from inside the container.

Signed-off-by: Eric Myhre <eric@flynn.io>
Merge pull request #658 from flynn/testing-shell-app

Testing shell app
Merge pull request #661 from flynn/test-iptables

test/cluster: Cleanup iptables rules
all: Update etcd to v2.0.0-rc.1

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
all: Use IANA-assigned ports for etcd

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
appliance/etcd: Add CA certificates to container image

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
host: Update configuration file format

Configuration files are now JSON describing the arguments and
environment variables to add when running the daemon.

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
host: Fix panic converting error in log

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
host: Add expose_env field to service manifest

Environment variables listed in this field are copied from the daemon
environment into the job.

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
host: Configure etcd clustering via environment variables directly

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
pkg: Add etcdcluster package

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
host/cli: Add init command for configuring the cluster

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
host: Default to 1-node etcd configuration if none is specified

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
host: Lookup default external IP

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
discoverd: Bump etcd connection attempts to 10 minutes

When starting a v0.5 cluster for the first time it can take a while for
all of the nodes to show up.

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
host: Bump discoverd connection attempts to 10 minutes

When starting a etcd v0.5 cluster for the first time it can take a while
for all of the nodes to show up.

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>