We added a cs_rsc_defaults section to our Pacemaker configuration. The section gets added to the shadow /var/cache/puppet/shadow.puppet file, but not to the live configuration.
What behaviour did you expect instead
We expect to see the following section in /var/lib/pacemaker/cib/cib.xml:
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
We have the following
cs_rsc_defaults
section in our Puppet hiera:What are you seeing
We added a
cs_rsc_defaults
section to our Pacemaker configuration. The section gets added to the shadow/var/cache/puppet/shadow.puppet
file, but not to the live configuration.What behaviour did you expect instead
We expect to see the following section in
/var/lib/pacemaker/cib/cib.xml
:Output log
Running the Puppet agent with debug mode enabled:
Any additional information you'd like to impart
I tested changing the upstream module in a branch to see if I could get the change applied to the live cib. The following change seemed to work.
In
upstream/corosync/lib/puppet/type/cs_commit.rb
add the following two blocks:and
In
upstream/corosync/lib/puppet/type/cs_rsc_defaults.rb
add the following block: