Validating Config Files

Have you ever gotten one server’s configrations 100% perfect. It’s golden. Then on to the next? How can you ensure that the configuration files match and are unique for that server.

Well if this is a Linux server then you can use your good old friend ssh and diff.

ssh user@goldenserver "cat /opt/carbon/conf/synapse.properties" \
|diff - ./synapse.properties