Forward Pacemaker notifications to daemon shadow
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT="$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)"
|
||||
FILE="$ROOT/ocf/loxthelion/managed-container.d/applications/postgresql/notify.sh"
|
||||
|
||||
grep -q '^mc_pg_notify_daemon_shadow()' "$FILE"
|
||||
grep -q '"notify"' "$FILE"
|
||||
grep -q 'OCF_RESKEY_CRM_meta_notify_demote_uname' "$FILE"
|
||||
grep -q 'managed-containerd notify shadow' "$FILE"
|
||||
|
||||
echo "NOTIFY_DAEMON_SHADOW_TEST_PASS=1"
|
||||
Reference in New Issue
Block a user