redhat-openstack / puppet-pacemaker

Puppet modules to manage pacemaker with corosync
9 stars 25 forks source link

master_slave parameter is always treated as true #67

Open bhardie-godaddy opened 8 years ago

bhardie-godaddy commented 8 years ago

The master_slave parameter of pacemaker::constraint::colocation seems to be interpreted as true regardless of what it is set to. I believe this is due to evaluating its truthyness in the pcmk_constraint provider instead of comparing it to the symbols :true and :false.

I've created pull request #66 with a proprosed fix for this.

Puppet 4.3.1