Forward Pacemaker notifications to daemon shadow

This commit is contained in:
Lyncoln
2026-09-17 17:08:06 -04:00
parent fe01570b22
commit 0deb3f0061
4 changed files with 74 additions and 2 deletions
+12
View File
@@ -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"