csc/Hanlon — pull request #44 by tjmcs (2014-06-09 17:00:26+00:00)
Title: Fixes #29:  Sort keys in hanlon_server.conf file

With these changes, the configuration files (both `hanlon_client.conf` and `hanlon_server.conf`) are saved (as YAML) in a key-sorted order (alphabetical by key). Prior to this set of changes, those configuration files were saved with the parameters in a semi-random order (based on the hash-map used to store them); for some versions of Ruby, the order would even change between runs of the `hanlon_init.rb` script.

The changes in this pull request should make it much easier to find the parameter you are looking for in these configuration files, even if the parameters might not be grouped together logically. If logical groupings of parameters are desired, we can change from an alphabetical sort to sorting based on something else (order in an externally maintained array?).