Wrap the cib file deletion commands in a function
Wrap the cib file deletion commands in a function

Let's avoid a bunch of duplicated code by wrapping the following
 FileUtils.rm(cib, :force => true)
 FileUtils.rm("#{cib}.orig", :force => true)

In a single delete_cib(cib) function. This will also be useful for some
upcoming module rework

Change-Id: Iccc19e75387fc187dfac4909b594581f1d1511a6

openstack/puppet-pacemaker,openstack/puppet-pacemaker,openstack/puppet-pacemaker,openstack/puppet-pacemaker