cloudfoundry-attic / bosh-workspace

Gem for managing your bosh workspace
MIT License
22 stars 26 forks source link

use output of executable stubs file #88

Closed JamesClonk closed 8 years ago

JamesClonk commented 8 years ago

Signed-off by Fabio Berchtold fabio.berchtold@swisscom.com

cfdreddbot commented 8 years ago

Hey JamesClonk!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you've already signed the CLA.

JamesClonk commented 8 years ago

This will allow to have executable stubs in the stubs folder to run and use their output for merging. Such a script could potentially read information from anywhere like a database, other manifests files, etc.

For example one could have an executable stubs/diego.yml which outputs a spiff merge ../.releases/diego-release/config-from-cf.yml ../.releases/diego-release/config-from-cf-internal.yml ../.deployments/cf.yml, so it would not be needed to maintain any values from cf.yml also in the diego.yml manifest.

rkoster commented 8 years ago

Code review done, when the above is fixed it's ready to be merged.

JamesClonk commented 8 years ago

@rkoster ok, done :smile: