59 lines
1.7 KiB
Diff
59 lines
1.7 KiB
Diff
From 61eb9c240004d1dbd0b5973e2fecda3686bb4c53 Mon Sep 17 00:00:00 2001
|
|
From: Klaus Wenninger <klaus.wenninger@aon.at>
|
|
Date: Tue, 10 Aug 2021 09:06:55 +0200
|
|
Subject: [PATCH 1/2] Build: rpm: package fence_watchdog in base-package
|
|
|
|
---
|
|
rpm/pacemaker.spec.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/rpm/pacemaker.spec.in b/rpm/pacemaker.spec.in
|
|
index f58357a77..0c569b9ca 100644
|
|
--- a/rpm/pacemaker.spec.in
|
|
+++ b/rpm/pacemaker.spec.in
|
|
@@ -734,6 +734,7 @@ exit 0
|
|
%{_sbindir}/crm_attribute
|
|
%{_sbindir}/crm_master
|
|
%{_sbindir}/fence_legacy
|
|
+%{_sbindir}/fence_watchdog
|
|
|
|
%doc %{_mandir}/man7/pacemaker-controld.*
|
|
%doc %{_mandir}/man7/pacemaker-schedulerd.*
|
|
@@ -797,7 +798,6 @@ exit 0
|
|
%{_sbindir}/crm_simulate
|
|
%{_sbindir}/crm_report
|
|
%{_sbindir}/crm_ticket
|
|
-%{_sbindir}/fence_watchdog
|
|
%{_sbindir}/stonith_admin
|
|
# "dirname" is owned by -schemas, which is a prerequisite
|
|
%{_datadir}/pacemaker/report.collector
|
|
--
|
|
2.27.0
|
|
|
|
|
|
From 88e75d5b98df197fa731e7642434951a24a67095 Mon Sep 17 00:00:00 2001
|
|
From: Klaus Wenninger <klaus.wenninger@aon.at>
|
|
Date: Tue, 10 Aug 2021 09:10:23 +0200
|
|
Subject: [PATCH 2/2] Fix: fence_watchdog: fix version output needed for
|
|
help2man
|
|
|
|
---
|
|
daemons/fenced/fence_watchdog.in | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/daemons/fenced/fence_watchdog.in b/daemons/fenced/fence_watchdog.in
|
|
index c83304f1d..700065e0e 100755
|
|
--- a/daemons/fenced/fence_watchdog.in
|
|
+++ b/daemons/fenced/fence_watchdog.in
|
|
@@ -12,6 +12,7 @@ import sys
|
|
import atexit
|
|
import getopt
|
|
|
|
+AGENT_VERSION = "1.0.0"
|
|
SHORT_DESC = "Dummy watchdog fence agent"
|
|
LONG_DESC = """fence_watchdog just provides
|
|
meta-data - actual fencing is done by the pacemaker internal watchdog agent."""
|
|
--
|
|
2.27.0
|
|
|