Re: How to compare two haproxy.cfg files?

2015-03-09 Thread Jonathan Matthews
On 8 March 2015 at 18:46, Tom Limoncelli tlimonce...@stackexchange.com wrote: The first step is to put the sections in a fixed order: First general, the defaults, then each listen/frontend/backend sorted by name. That works fine and has been a big help. Not a huge amount of help with your

How to compare two haproxy.cfg files?

2015-03-08 Thread Tom Limoncelli
I'm converting from haproxy.cfg files generated by one system to ones that are generated by a very different system. As part of the process, I want to compare the old and new haproxy.cfg files to make sure they are equivalent. diff isn't useful because the sections are in different orders, and