opscode-cookbooks/openssh — pull request #14 by priestjim (2012-12-16 12:57:40+00:00)
Title: Converted the openssh client/server options to a sorted hash for idempotency

If you override the openssh options in an application cookbook via node.set, chef-client will evaluate the option hash in a non-deterministic way, creating a different option file in each run hence ruining indempotency (and restarting the openssh server every time).

Sorting the hash before exporting it to the template, solves this issue.