Any shell resource agent should source the .ocf-shellfuncs function
library. With the syntax below, this is done in terms of
$OCF_FUNCTIONS_DIR, which — for testing purposes, and also for
generating documentation — may be overridden from the command line.
# Initialization:
: ${OCF_FUNCTIONS_DIR=${OCF_ROOT}/lib/heartbeat}
. ${OCF_FUNCTIONS_DIR}/ocf-shellfuncs