Rename is_fence_kdump to is_pcs_fence_kdump
Renames is_fence_kdump to is_pcs_fence_kdump to identify that this method should be used to detect fence_kdump configuration only in Pacemaker clusters. Bug-Url: https://bugzilla.redhat.com/1078134 Signed-off-by: Martin Perina <mperina@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
parent
48f4375f2e
commit
98f58cdc56
@ -20,7 +20,7 @@ depends() {
|
||||
_dep="$_dep drm"
|
||||
fi
|
||||
|
||||
if is_fence_kdump; then
|
||||
if is_pcs_fence_kdump; then
|
||||
_dep="$_dep network"
|
||||
fi
|
||||
|
||||
@ -421,7 +421,7 @@ kdump_check_iscsi_targets () {
|
||||
# also preserve '[node list]' for 2nd kernel /etc/fence_kdump_nodes
|
||||
kdump_check_fence_kdump () {
|
||||
local nodes
|
||||
is_fence_kdump || return 1
|
||||
is_pcs_fence_kdump || return 1
|
||||
|
||||
# get cluster nodes from cluster cib, get interface and ip address
|
||||
nodelist=`pcs cluster cib | xmllint --xpath "/cib/status/node_state/@uname" -`
|
||||
|
@ -27,8 +27,8 @@ strip_comments()
|
||||
echo $@ | sed -e 's/\(.*\)#.*/\1/'
|
||||
}
|
||||
|
||||
# Check if fence kdump is configured in cluster
|
||||
is_fence_kdump()
|
||||
# Check if fence kdump is configured in Pacemaker cluster
|
||||
is_pcs_fence_kdump()
|
||||
{
|
||||
# no pcs or fence_kdump_send executables installed?
|
||||
type -P pcs > /dev/null || return 1
|
||||
|
Loading…
Reference in New Issue
Block a user