use Definition for Build#light_stemcell

Signed-off-by: Ben Smith <bsmith@pivotallabs.com>
use Definition for BuildTarget

Signed-off-by: Ben Smith <bsmith@pivotallabs.com>
use Definition for StemcellArtifacts

Signed-off-by: Ben Smith <bsmith@pivotallabs.com>
use Definition in BuilderCommand

Signed-off-by: Ben Smith <bsmith@pivotallabs.com>
remove defensive code for specifying agent_name in StemcellVm
use Definition in StageCollection
use Definition in BuilderOptions
Build takes stemcell Definition for downloading

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
backfill tests in bosh bootstrap

* use Stemcell::Definition in BoshBootstrap

Signed-off-by: Ben Smith <bsmith@pivotallabs.com>
refactor ArchiveFilename to take Definition

* No longer takes infrastructure and operating system directly

Signed-off-by: Ben Smith <bsmith@pivotallabs.com>
refactor StemcellBuilder and BuilderCommand to use Stemcell Definition

Signed-off-by: Ben Smith <bsmith@pivotallabs.com>
remove #agent from BatHelper public interface

Signed-off-by: Ben Smith <bsmith@pivotallabs.com>
use values for equality instead of reference on stemcell definitions

Signed-off-by: Nick Wade <nwade@pivotallabs.com>
extract Bat::Artifacts from BatHelper

Signed-off-by: Nick Wade <nwade@pivotallabs.com>
inject separate stemcell definition for microbosh and bat in bat helper

Remove Forwardable

Signed-off-by: Nick Wade <nwade@pivotallabs.com>
download both microbosh and bat stemcells for bats

Only downloads once if the microbosh and bat stemcells are the same

Signed-off-by: Nick Wade <nwade@pivotallabs.com>
add Artifacts#bat_stemcell_path

Signed-off-by: Nick Wade <nwade@pivotallabs.com>
always use ruby agent for microbosh when running bats

 * Go agent will be used for the stemcell in bat deployments

Signed-off-by: Nick Wade <nwade@pivotallabs.com>