Forward Pacemaker notifications to daemon shadow
This commit is contained in:
@@ -24,6 +24,7 @@ echo
|
||||
echo ">>> Generic proxy client actions"
|
||||
python3 ./tests/test-proxy-client-actions.py
|
||||
python3 ./tests/test-proxy-client-parameters.py
|
||||
./tests/test-notify-daemon-shadow.sh
|
||||
|
||||
echo
|
||||
echo ">>> Python syntax"
|
||||
|
||||
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