Blame SOURCES/bz1937026-SAPDatabase-SAPInstance-set-correct-agent-ocf-version.patch

640099
From d6b954890b496fcdd8a76d7c2dd44a36fa0ad42c Mon Sep 17 00:00:00 2001
640099
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
640099
Date: Thu, 7 Oct 2021 11:10:16 +0200
640099
Subject: [PATCH 1/3] all agents: specify agent and OCF versions corrently in
640099
 metadata
640099
640099
---
640099
 heartbeat/SAPDatabase             | 4 ++--
640099
 heartbeat/SAPInstance             | 4 ++--
640099
 133 files changed, 169 insertions(+), 169 deletions(-)
640099
640099
diff --git a/heartbeat/SAPDatabase b/heartbeat/SAPDatabase
640099
index 3486303f10..563a6f3469 100755
640099
--- a/heartbeat/SAPDatabase
640099
+++ b/heartbeat/SAPDatabase
640099
@@ -109,8 +109,8 @@ meta_data() {
640099
 	cat <
640099
 
640099
 
640099
-<resource-agent name="SAPDatabase">
640099
-<version>2.14</version>
640099
+<resource-agent name="SAPDatabase" version="2.14">
640099
+<version>1.0</version>
640099
 
640099
 <longdesc lang="en">
640099
 Resource script for SAP databases. It manages a SAP database of any type as an HA resource.
640099
diff --git a/heartbeat/SAPInstance b/heartbeat/SAPInstance
640099
index f8bcbc05b8..016f59aff2 100755
640099
--- a/heartbeat/SAPInstance
640099
+++ b/heartbeat/SAPInstance
640099
@@ -110,8 +110,8 @@ sapinstance_meta_data() {
640099
 	cat <
640099
 
640099
 
640099
-<resource-agent name="SAPInstance">
640099
-<version>2.14</version>
640099
+<resource-agent name="SAPInstance" version="2.14">
640099
+<version>1.0</version>
640099
 
640099
 <longdesc lang="en">
640099
 Usually a SAP system consists of one database and at least one or more SAP instances (sometimes called application servers). One SAP Instance is defined by having exactly one instance profile. The instance profiles can usually be found in the directory /sapmnt/SID/profile. Each instance must be configured as it's own resource in the cluster configuration.