We’re liking Spruce more and more as a replacement for Spiff in our BOSH releases.
Spruce is a general purpose CLI for merging multiple YAML files into a single YAML file. Its especially useful when you want to programmatically build the final YAML file; and where the final YAML file is huge and its easier to comprehend if its in many smaller input files.
Now, as of
bosh-gen v0.21.0, all new BOSH releases assume that you’ll be using
spruce as well.
./templates/make_manifest command will now run
spruce merge instead of
spiff merge, and the default spruce templates include sprucities.
It should now be much easier to learn
spruce by looking at the example templates when writing your next BOSH release.