cookbook 'sortable_mash', '= 0.0.1', :supermarket
sortable_mash (2) Versions 0.0.1 Follow1
Adds sorting to Mash
cookbook 'sortable_mash', '= 0.0.1'
knife supermarket install sortable_mash
knife supermarket download sortable_mash
This cookbook provides a #sorted_hash method to Mash instances. In many situations a configuration file is generated via JSON.pretty_generate or some other method using a Hash. The #sorted_hash option ensures that hashes are in a consistent order so file contents are changed simply due to value reordering.
On system using a Ruby < 1.9, the orderedhash gem will be installed and used for generating the Hash.
Support for chef_gem?
This cookbook has no specified dependencies.
There are no cookbooks that are contingent upon this one.