Feature #24359
openCreate localized copies of templates for version control
Description
As it is right now, we find keeping track of templates a very tedious task. Yes, there is a plugin that pulls templates in from an external source, so you can version control from that. But that means maintaining a plugin, and editing the templates outside of Foreman UI. That doesn't make much sense.
Also, as it is right now, the templates are saved internally, in a non flat-file method. This means there is no way to version control them AND edit them via Foreman.
Can we please add a directory in ~foreman that just takes the templates as they are, and keeps a raw text copy of it somewhere in ~foreman? Then we can version control them right from Foreman (make a change, push to git because ~foreman is repo'd.
TL;DR - make templates a raw text file under ~foreman directory, for easy version control.
Updated by Marek Hulán over 6 years ago
This will be easier to achieve once the templates refactoring is done (targetted 1.20), we could add file source.
Updated by Marek Hulán over 6 years ago
- Related to Refactor #22529: Refactor Template rendering to use a proper rendering service added