Move the test double "release" into each context

Instead of having it shared at the top.
Package name collision error message gets friendlier

We now mention the offending job, the offending templates and the
releases and package name when we detect a collision before deploy.

[#delivers 63988466]
explicitly install mysql2 gem for bosh-director in bosh release

Signed-off-by: Nick Wade <nwade@pivotallabs.com>
change build id for local versions from "local" to "0000"

This gets around a bug in rubygems dealing with pre versions and installing from local directories

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
bumping rubygems in bosh release to 2.1.11

Also bumped bundler to 1.5.2

Signed-off-by: Nick Wade <nwade@pivotallabs.com>
extracted job template rendering into bosh-director-core gem

This time after bumping rubygems which caused a bug in bosh release.

This reverts commit 570d8c6c899c4ab675c1250bcef0460be7b8601c.

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
extract registry management from aws and openstack instance managers

Signed-off-by: Nick Wade <nwade@pivotallabs.com>
add debuging output to director package build in bosh release

Signed-off-by: Nick Wade <nwade@pivotallabs.com>
move discover_bosh_ip and service_ip into subclasses

Signed-off-by: Nick Wade <nwade@pivotallabs.com>
move check_dependencies and disk_model from super to sub classes

Rearranged and privatized methods on infrastructure subclasses to prepare for a clean interface

Signed-off-by: Nick Wade <nwade@pivotallabs.com>
extracted RemoteTunnel and SshServer classes from Helpers

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
remove accidentally commited spike code (empty file)

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
wire in RemoteTunnel in OpenStack and AWS

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
inline methods from Helpers mixin

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
Update shared examples for rsyslog.conf

Signed-off-by: caleb miles <cmiles@pivotallabs.com>
Create basic vsphere infrastructure

Signed-off-by: Ben Smith <bsmith@pivotallabs.com>
udev rule to create a /dev/bosh-cdrom syslink

Signed-off-by: Nick Wade <nwade@pivotallabs.com>
add settings fetching from cdrom to ubuntu platform

Signed-off-by: Ben Smith <bsmith@pivotallabs.com>
add settings fetching from cdrom to centos platform

Signed-off-by: Ben Smith <bsmith@pivotallabs.com>
Implemented GetSettings on vsphere infrastructure

Signed-off-by: Ben Smith <bsmith@pivotallabs.com>