Dnia 10.02.2021 o godz. 15:55:23 Chris Green pisze: > > Currently I have a single main.cf file kept in mercurial that I deploy > on all these systems. If I change the file in my mercurial repository > the change gets distributed to all systems (by a file synchronising > process). I'm just trying to see if I can keep my single master > version of main.cf with a different domain name for each system. [...] > I don't currently have a mechanism for manipulating files during > deployment from the mercurial repository to the destination.
I was thinking of using some placeholder in your "master" cf file instead of domain name, that gets replaced by a proper value during copying file to the destination server. This would probably require adding some custom script to the command that deploys files onto the target that modifies the file after downloading it. -- Regards, Jaroslaw Rafa r...@rafa.eu.org -- "In a million years, when kids go to school, they're gonna know: once there was a Hushpuppy, and she lived with her daddy in the Bathtub."