Blame SOURCES/bz2027423-3-SAPHana-SAPHanaTopology-fix-metadata-version.patch

144027
From 182dbd793e9c6ce0e5a0abc7d595a864175248bb Mon Sep 17 00:00:00 2001
144027
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
144027
Date: Thu, 20 Jan 2022 10:41:51 +0100
144027
Subject: [PATCH] SAPHana*: follow OCF standard for version and OCF version in
144027
 metadata
144027
144027
---
144027
 heartbeat/SAPHana         | 4 ++--
144027
 heartbeat/SAPHanaTopology | 4 ++--
144027
 2 files changed, 4 insertions(+), 4 deletions(-)
144027
144027
diff --git a/heartbeat/SAPHana b/heartbeat/SAPHana
144027
index 295eff0..6527362 100755
144027
--- a/heartbeat/SAPHana
144027
+++ b/heartbeat/SAPHana
144027
@@ -160,8 +160,8 @@ function saphana_meta_data() {
144027
     cat <
144027
 
144027
 
144027
-<resource-agent name="SAPHana">
144027
-<version>$SAPHanaVersion</version>
144027
+<resource-agent name="SAPHana" version="$SAPHanaVersion">
144027
+<version>1.0</version>
144027
 
144027
 <shortdesc lang="en">Manages two SAP HANA database systems in system replication (SR).</shortdesc>
144027
 <longdesc lang="en">
144027
diff --git a/heartbeat/SAPHanaTopology b/heartbeat/SAPHanaTopology
144027
index 3fce400..9ad2101 100755
144027
--- a/heartbeat/SAPHanaTopology
144027
+++ b/heartbeat/SAPHanaTopology
144027
@@ -134,8 +134,8 @@ function sht_meta_data() {
144027
 	cat <
144027
 
144027
 
144027
-<resource-agent name="SAPHanaTopology">
144027
-    <version>$SAPHanaTopologyVersion</version>
144027
+<resource-agent name="SAPHanaTopology" version="$SAPHanaTopologyVersion">
144027
+    <version>1.0</version>
144027
     <shortdesc lang="en">Analyzes SAP HANA System Replication Topology.</shortdesc>
144027
     <longdesc lang="en">This RA analyzes the SAP HANA topology and "sends" all findings via the node status attributes to
144027
         all nodes in the cluster. These attributes are taken by the SAPHana RA to control the SAP Hana Databases.