lbetz/puppetlabs-corosync — pull request #1 by kbon (2013-07-23 08:56:06+00:00)
Title: Cs location fixes

Hello! First off, thanks for your fork of puppetlabs-corosync, especially for the Cs_location addition. This should really be accepted upstream, it's base Pacemaker functionality which should be supported.

Part of this PR is whitespace, documentation, typo fixes. But I've also modified the provider to not convert the :rules to a string. When I did multiple Puppet runs after each other, about half the time my location instance was modified. The difference here was the order of hash elements, probably because of Ruby 1.8.7 using unordered hashes. By storing the entire array of hashes instead of strings, this is solved.