prepare_instance.sh can be re-run

Instead of failing (re-create symlin) or redoing long activities
(re-install ruby and rubygems), it skips those steps if
not necessary

Change-Id: Iae17d0dfe012e44fec2ee5afc848ab0e2db783c9
CLI displays which bosh deployment file

Removed a redundant call to deployment_required

Change-Id: I492e6155a8cd6578792611feba7b6ac35e2ff2c8
Add gemspec for bosh agent.

This does not replace the Gemfile yet due to some remaining issues with
dependency selection by platform. I plan to use it to build the gem and
vendor it in the micro repo.

Change-Id: I05f72e0063df20dbd6e88ba9dad5fa2c10b5c836
BAT override BOSH CLI config path.

Paired by ben and glenn.

Change-Id: I54ed30c7e842efdb3d0e36ce104cdf1c4ec4979e
loosen restriction on net-ssh

When the cli gem is included in external projects
such as bosh-bootstrap, the strong requirement on
net-ssh ~> 2.2.1 can cause gem loading issues.

Change-Id: I66863658ae661d721dd282d41547039d0239c65f
lookup registry ip when ec2 user data has dns server list

Change-Id: I3336bb8368fb90b9caf371ce3d82e6e72bb0df93
s3 blobstore_client rewrite

- use aws-sdk gem instead of aws-s3
- added functional tests for S3
- updated rspec to latest version

Pair: Glenn & Martin

Change-Id: I52dea2512eb69b1d5288c9acdb3e92a71dfe8644
[bosh_common] Fix can't find property names

When a property is not found, return the name of the property or properties that
we're looking for. Actually it returns the template name.

Change-Id: I8ee1efae20d922cc9012c1f993dec5a74777874b
[director] Fix bind_template message error

If there's an error when binding a template, return the correct
template line error.

Behaviour in rspec is different than in a real env: in a real env
first line of the backtrace is the p error from template_evaluation_context.rb,
but in rspec is the template error itself. So we look at the backtrace
for the template filename to find the correct template line error.

Change-Id: Icd087c7ae6e18a28e7401eed51781898679c8970
[bosh_common] Allow boolean properties with false values

Change-Id: If41f76a58f411b491c1c925ffde220027833acb7
bosh_common 0.5.4

* Fix can't find property names
* Allow boolean properties with false values

Change-Id: I9ec0a0103261dc37f7a5441d44ace3de07ee43c6
[director] Use bosh_common 0.5.4

Change-Id: Ib2f6df031a6cbd195bcf02aa8cd8a8f89f2d828f
[agent] Use bosh_common 0.5.4

Change-Id: I96cd8c8a50f6713f14f904ca10f3a2be65b86471
Merge "[agent] Use bosh_common 0.5.4"
[agent] Fix bind_configuration error message

If there is an error when binding a template, return the correct
template line error.

Change-Id: I61a4360fe28eea78dc720e584c8877d7a96f4e79
Merge "loosen restriction on net-ssh"
allow micro bosh to set agent ntp servers

- refactored settings into its own class

Change-Id: I9dc67107f0739e8750e5d9588abaee57aedf6e6e
Merge "BAT override BOSH CLI config path."
add set_vm_metadata to aws cpi

Change-Id: I946b9d44e2c366dafc970e01b07bb02174700c39
[fixes #39319053] - deployment/instance now notices a job rename as a 'change'.   Also removed unnecessary catch and throw on exception in the bat/bosh_helper. Added bat test to cover job renames.

Change-Id: Idc3e157a8037cb2d435950ea04071f5da370529d