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

de03b3
From d6b954890b496fcdd8a76d7c2dd44a36fa0ad42c Mon Sep 17 00:00:00 2001
de03b3
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
de03b3
Date: Thu, 7 Oct 2021 11:10:16 +0200
de03b3
Subject: [PATCH 1/3] all agents: specify agent and OCF versions corrently in
de03b3
 metadata
de03b3
de03b3
---
de03b3
 heartbeat/SAPDatabase             | 4 ++--
de03b3
 heartbeat/SAPInstance             | 4 ++--
de03b3
 133 files changed, 169 insertions(+), 169 deletions(-)
de03b3
de03b3
diff --git a/heartbeat/SAPDatabase b/heartbeat/SAPDatabase
de03b3
index 3486303f10..563a6f3469 100755
de03b3
--- a/heartbeat/SAPDatabase
de03b3
+++ b/heartbeat/SAPDatabase
de03b3
@@ -109,8 +109,8 @@ meta_data() {
de03b3
 	cat <
de03b3
 
de03b3
 
de03b3
-<resource-agent name="SAPDatabase">
de03b3
-<version>2.14</version>
de03b3
+<resource-agent name="SAPDatabase" version="2.14">
de03b3
+<version>1.0</version>
de03b3
 
de03b3
 <longdesc lang="en">
de03b3
 Resource script for SAP databases. It manages a SAP database of any type as an HA resource.
de03b3
diff --git a/heartbeat/SAPInstance b/heartbeat/SAPInstance
de03b3
index f8bcbc05b8..016f59aff2 100755
de03b3
--- a/heartbeat/SAPInstance
de03b3
+++ b/heartbeat/SAPInstance
de03b3
@@ -110,8 +110,8 @@ sapinstance_meta_data() {
de03b3
 	cat <
de03b3
 
de03b3
 
de03b3
-<resource-agent name="SAPInstance">
de03b3
-<version>2.14</version>
de03b3
+<resource-agent name="SAPInstance" version="2.14">
de03b3
+<version>1.0</version>
de03b3
 
de03b3
 <longdesc lang="en">
de03b3
 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.