test/rootfs: Bump Ubuntu to 14.04.1

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
Merge pull request #636 from flynn/bump-test-ubuntu

test/rootfs: Bump Ubuntu to 14.04.1
pkg/schedutil: Add package schedutil with some helper functions

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
all: Change host list from a map to a slice

This makes it easier to sort and pick random hosts, which is the
typical use case for this response.

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
controller/scheduler: Fix nil pointer dereference in log message

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
controller: Fix bug in jobs test

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
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>
test/cluster: Update etcd configuration for v2.0

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