Blame SOURCES/bz2042921-SAPHanaController-SAPHanaTopology-fix-metadata-version.patch

6b3d08
From 5206e517e190b3c8dfc4b075cb31b5070e9670d4 Mon Sep 17 00:00:00 2001
6b3d08
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
6b3d08
Date: Thu, 20 Jan 2022 10:54:54 +0100
6b3d08
Subject: [PATCH] SAPHana*: follow OCF standard for version and OCF version in
6b3d08
 metadata
6b3d08
6b3d08
---
6b3d08
 heartbeat/SAPHanaController | 4 ++--
6b3d08
 heartbeat/SAPHanaTopology   | 4 ++--
6b3d08
 2 files changed, 4 insertions(+), 4 deletions(-)
6b3d08
6b3d08
diff --git a/heartbeat/SAPHanaController b/heartbeat/SAPHanaController
6b3d08
index 767af44..c365f4a 100755
6b3d08
--- a/heartbeat/SAPHanaController
6b3d08
+++ b/heartbeat/SAPHanaController
6b3d08
@@ -166,8 +166,8 @@ function saphana_meta_data() {
6b3d08
     cat <
6b3d08
 
6b3d08
 
6b3d08
-<resource-agent name="SAPHanaController">
6b3d08
-<version>$SAPHanaControllerVersion</version>
6b3d08
+<resource-agent name="SAPHanaController" version="$SAPHanaControllerVersion">
6b3d08
+<version>1.0</version>
6b3d08
 
6b3d08
 <shortdesc lang="en">Manages two SAP HANA database systems in system replication (SR).</shortdesc>
6b3d08
 <longdesc lang="en">
6b3d08
diff --git a/heartbeat/SAPHanaTopology b/heartbeat/SAPHanaTopology
6b3d08
index 05014af..7f6f4d9 100755
6b3d08
--- a/heartbeat/SAPHanaTopology
6b3d08
+++ b/heartbeat/SAPHanaTopology
6b3d08
@@ -132,8 +132,8 @@ function sht_meta_data() {
6b3d08
 	cat <
6b3d08
 
6b3d08
 
6b3d08
-<resource-agent name="SAPHanaTopology">
6b3d08
-    <version>$SAPHanaTopologyVersion</version>
6b3d08
+<resource-agent name="SAPHanaTopology" version="$SAPHanaTopologyVersion">
6b3d08
+    <version>1.0</version>
6b3d08
     <shortdesc lang="en">Analyzes SAP HANA System Replication Topology.</shortdesc>
6b3d08
     <longdesc lang="en">This RA analyzes the SAP HANA topology and "sends" all findings via the node status attributes to
6b3d08
         all nodes in the cluster. These attributes are taken by the SAPHana RA to control the SAP Hana Databases.