t-matsuo/resource-agents — Issue #1: error in function "is_node_online"
Author: absolut777
Created: 2012-01-24 09:48:16+00:00
State: open

Hello,

There should not be a blank after ^Node $1. If the blank is, function works incorrectly.

is_node_online() {
crm_mon -1 -n | grep -e "^Node $1 " | grep -q -v "OFFLINE"
return $?
}