SUSE / salt-shaptools

Salt execution module and state to manage SAP Applications (HANA only at the moment) and SUSE Linux Enterprise High Availability components
Apache License 2.0
14 stars 11 forks source link

Feature/ha cluster methods #13

Closed arbulu89 closed 5 years ago

arbulu89 commented 5 years ago

Depending on the crmsh version we need to use crm or ha-cluster-init/join.

This PR adapts the code to use one or the other depending on the current installed crmsh version.

The rest of the states and formulas are not affected, as the whole management is done in the salt module

arbulu89 commented 5 years ago

@diegoakechi @krig I have fount that I need to create more code to manipulate corosync configuration. Old ha-cluster-init package is not setting unicast, so we have to do it manually. I will add some code to do that, test and we will review later again.

diegoakechi commented 5 years ago

@arbulu89 please, rebase to avoid conflicts with the changes we did for renaming the project.

diegoakechi commented 5 years ago

LGTM.