voxpupuli/puppet-corosync

`crm configure load update` returns 0 on error

Closed this issue · 3 comments

When running crm configure load update in the providers' flush methods, if there are syntax errors or anything, the command still returns 0 and the resource shows that the changes were applied.

I haven't figured out a good way to validate the configuration other than crm_verify but this command requires XML, but we are currently emitting normal crm commands. I don't have other ideas of how to fix it at the moment.

ody commented

Yep sucks. It may just be that we have to start building XML...or trigger our shoulds again after the flush to see if it worked. The first option is more correct, the second probably seems less painful since we don't have to build xml.

Is this still an issue?

Closing due to lack of response. Please re-open if needed.