puppetlabs/puppetlabs-corosync — pull request #28 by hunner (2012-10-17 22:36:43+00:00)
Title: Delete an existing cib to start fresh

When configuring corosync resources from two hosts, the first host to run would create a CIB and cache its own changes. The second node would pick up on the first node's changes and add its own, but when puppet on the first node runs a second time it does not update the CIB for the second node's resources.

By deleting the CIB before starting the run, it will ensure that it is always fresh from the configuration of the whole cluster. (Note: `crm cib reset` did not seem to solve this problem.)