Blame SOURCES/017-watchdog-fixes.patch

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