Merge pull request #8 from krig/bnc862572

Run removal commands in bash shell to avoid prompts from zsh (bnc#862572)
Correctly detect unconfigured SBD when SBD_DEVICE="" (bnc#865260)

Signed-off-by: Tim Serong <tserong@suse.com>
Set corosync logging to_logfile: no

Signed-off-by: Tim Serong <tserong@suse.com>
Don't add service section to corosync.conf (bnc#865041)

Signed-off-by: Tim Serong <tserong@suse.com>
Use netstat to guess at the default route interface (bnc#854172)

Since the name of the default network interface is no longer
likely to be eth0, use netstat to make an educated guess.
Merge pull request #10 from krig/bnc854172

Use netstat to guess at the default route interface (bnc#854172)
Sync all config files across all nodes when adding new node (bnc#867048)

Previously we used `csync2 -xv -P $(hostname)` to sync files only to the
new node.  Unfortunately this leaves all other files marked dirty on
that node, so a subsequent join of another node may have a failed csync2
run, causing e.g.: corosync.conf to be out of date at that point on one
node.  To fix this, we just sync all files across the cluster when doing
a join.  *sigh*

Signed-off-by: Tim Serong <tserong@suse.com>
Use `csync2 -R` to cleanup DB when removing node (bnc#867039)

Signed-off-by: Tim Serong <tserong@suse.com>
Ensure corosync and SBD config are marked dirty before syncing

Signed-off-by: Tim Serong <tserong@suse.com>
Set/clear two_node in corosync.conf (bnc#866435)

Signed-off-by: Tim Serong <tserong@suse.com>
Warn if /dev/watchdog not present

Signed-off-by: Tim Serong <tserong@suse.com>
Update firewall rules correctly for corosync.conf (bnc#868986)

Signed-off-by: Tim Serong <tserong@suse.com>
Fix test for active firewall (bnc#869386)

Signed-off-by: Tim Serong <tserong@suse.com>
Update NTP check to handle ntpd.service (bnc#872106)

Signed-off-by: Tim Serong <tserong@suse.com>
Use `SuSEfirewall2 status` instead of `systemctl is-active` (bnc#869386)

Signed-off-by: Tim Serong <tserong@suse.com>
Drop no-quorum-policy=ignore when adding third node

Signed-off-by: Tim Serong <tserong@suse.com>
Don't set sbd_device in crm config (bnc#863527)

Signed-off-by: Tim Serong <tserong@suse.com>
Make check for no-quorum-policy=ignore slighty less rigid

Signed-off-by: Tim Serong <tserong@suse.com>