To mods
This is purely a salt question applied to Qubes, and not specific to Qubes. I asked here because I’m configuring a Qubes system, but feel free to move or close as you see fit.
Currently, when using Salt to create a new template based on another or to manage that template like Fedora 43, I have several mentions to Fedora 43 specifically, and it would be nice if I only had to write the version once instead of multiple times.
Currently, I include a sls that includes the name of the template, which I would also like to generalize, and I clone the template. But I have over twenty templates that I have to manually or batch rename, and it’s error-prone and redundant. I also have to manage the templates themselves, as each has its own .sls and .top file to contend with as well.
Has anyone faced this problem before and found an elegant solution, ideally a .sls I can place in a ‘common’ directory and be done with it, updating that one file to update everything? I hate to be a beggar and chooser, and I’d love to hear any solution that I could improve, but the emphasis here is on elegant. I don’t want to trade one debt for another.