We are changing the way we handle servers: From pet to cattle.
In the particular case I have about 100 servers which have a file called:
/etc/rsyslog.d/local.conf
I have no clue which version is the correct one. I did some testing most are equal, but not all.
I would like to go the democratic way: The most common version of all 100 config files gets elected to be the canonical version.
Next step is to look at the files which are different.
I have some shell scripting knowledge, and could help myself without asking.
But I think my solution would be dirty.
How would you find the canonical version and then try to manage the different config version?