Heat Template Refactoring
Talk to Steve Hardy and TripleO team to learn from their experience in refactoring, managing templates. Magnum has recently merged code to use a master Jinja2 template that generates individual HOT files if they don't already exist. These HOT files are used for bay creation in Magnum.
https://bugs.launchpad.net/magnum/+bug/1501045