Blame SOURCES/bz2003117-all-agents-set-correct-agent-ocf-version.patch

e87a70
From d6b954890b496fcdd8a76d7c2dd44a36fa0ad42c Mon Sep 17 00:00:00 2001
e87a70
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
e87a70
Date: Thu, 7 Oct 2021 11:10:16 +0200
e87a70
Subject: [PATCH 1/3] all agents: specify agent and OCF versions corrently in
e87a70
 metadata
e87a70
e87a70
---
e87a70
 heartbeat/AoEtarget.in            | 2 +-
e87a70
 heartbeat/AudibleAlarm            | 2 +-
e87a70
 heartbeat/CTDB.in                 | 2 +-
e87a70
 heartbeat/ClusterMon              | 2 +-
e87a70
 heartbeat/Delay                   | 2 +-
e87a70
 heartbeat/Dummy                   | 2 +-
e87a70
 heartbeat/EvmsSCC                 | 2 +-
e87a70
 heartbeat/Evmsd                   | 2 +-
e87a70
 heartbeat/Filesystem              | 4 ++--
e87a70
 heartbeat/ICP                     | 2 +-
e87a70
 heartbeat/IPaddr                  | 2 +-
e87a70
 heartbeat/IPaddr2                 | 2 +-
e87a70
 heartbeat/IPsrcaddr               | 2 +-
e87a70
 heartbeat/IPv6addr.c              | 2 +-
e87a70
 heartbeat/LVM                     | 2 +-
e87a70
 heartbeat/LVM-activate            | 2 +-
e87a70
 heartbeat/LinuxSCSI               | 2 +-
e87a70
 heartbeat/MailTo                  | 2 +-
e87a70
 heartbeat/ManageRAID.in           | 4 ++--
e87a70
 heartbeat/ManageVE.in             | 4 ++--
e87a70
 heartbeat/NodeUtilization         | 2 +-
e87a70
 heartbeat/Pure-FTPd               | 2 +-
e87a70
 heartbeat/Raid1                   | 2 +-
e87a70
 heartbeat/Route                   | 2 +-
e87a70
 heartbeat/SAPDatabase             | 4 ++--
e87a70
 heartbeat/SAPInstance             | 4 ++--
e87a70
 heartbeat/SendArp                 | 2 +-
e87a70
 heartbeat/ServeRAID               | 2 +-
e87a70
 heartbeat/SphinxSearchDaemon      | 2 +-
e87a70
 heartbeat/Squid.in                | 2 +-
e87a70
 heartbeat/Stateful                | 2 +-
e87a70
 heartbeat/SysInfo.in              | 2 +-
e87a70
 heartbeat/VIPArip                 | 2 +-
e87a70
 heartbeat/VirtualDomain           | 4 ++--
e87a70
 heartbeat/WAS                     | 2 +-
e87a70
 heartbeat/WAS6                    | 2 +-
e87a70
 heartbeat/WinPopup                | 2 +-
e87a70
 heartbeat/Xen                     | 2 +-
e87a70
 heartbeat/Xinetd                  | 2 +-
e87a70
 heartbeat/ZFS                     | 2 +-
e87a70
 heartbeat/aliyun-vpc-move-ip      | 4 ++--
e87a70
 heartbeat/anything                | 2 +-
e87a70
 heartbeat/apache                  | 2 +-
e87a70
 heartbeat/asterisk                | 2 +-
e87a70
 heartbeat/aws-vpc-move-ip         | 4 ++--
e87a70
 heartbeat/aws-vpc-route53.in      | 2 +-
e87a70
 heartbeat/awseip                  | 2 +-
e87a70
 heartbeat/awsvip                  | 2 +-
e87a70
 heartbeat/azure-lb                | 2 +-
e87a70
 heartbeat/clvm.in                 | 2 +-
e87a70
 heartbeat/conntrackd.in           | 4 ++--
e87a70
 heartbeat/crypt                   | 2 +-
e87a70
 heartbeat/db2                     | 2 +-
e87a70
 heartbeat/dhcpd                   | 4 ++--
e87a70
 heartbeat/dnsupdate.in            | 2 +-
e87a70
 heartbeat/docker                  | 2 +-
e87a70
 heartbeat/docker-compose          | 4 ++--
e87a70
 heartbeat/dovecot                 | 4 ++--
e87a70
 heartbeat/eDir88.in               | 2 +-
e87a70
 heartbeat/ethmonitor              | 4 ++--
e87a70
 heartbeat/exportfs                | 2 +-
e87a70
 heartbeat/fio.in                  | 2 +-
e87a70
 heartbeat/galera.in               | 2 +-
e87a70
 heartbeat/garbd                   | 2 +-
e87a70
 heartbeat/gcp-ilb                 | 2 +-
e87a70
 heartbeat/gcp-pd-move.in          | 2 +-
e87a70
 heartbeat/gcp-vpc-move-ip.in      | 2 +-
e87a70
 heartbeat/gcp-vpc-move-route.in   | 2 +-
e87a70
 heartbeat/gcp-vpc-move-vip.in     | 2 +-
e87a70
 heartbeat/iSCSILogicalUnit.in     | 4 ++--
e87a70
 heartbeat/iSCSITarget.in          | 4 ++--
e87a70
 heartbeat/ids                     | 2 +-
e87a70
 heartbeat/iface-bridge            | 2 +-
e87a70
 heartbeat/iface-vlan              | 2 +-
e87a70
 heartbeat/ipsec                   | 2 +-
e87a70
 heartbeat/iscsi                   | 2 +-
e87a70
 heartbeat/jboss                   | 2 +-
e87a70
 heartbeat/jira.in                 | 4 ++--
e87a70
 heartbeat/kamailio.in             | 2 +-
e87a70
 heartbeat/lvmlockd                | 2 +-
e87a70
 heartbeat/lxc.in                  | 4 ++--
e87a70
 heartbeat/lxd-info.in             | 2 +-
e87a70
 heartbeat/machine-info.in         | 2 +-
e87a70
 heartbeat/mariadb.in              | 2 +-
e87a70
 heartbeat/mdraid                  | 2 +-
e87a70
 heartbeat/minio                   | 2 +-
e87a70
 heartbeat/mpathpersist.in         | 4 ++--
e87a70
 heartbeat/mysql                   | 2 +-
e87a70
 heartbeat/mysql-proxy             | 4 ++--
e87a70
 heartbeat/nagios                  | 4 ++--
e87a70
 heartbeat/named                   | 2 +-
e87a70
 heartbeat/nfsnotify.in            | 2 +-
e87a70
 heartbeat/nfsserver               | 2 +-
e87a70
 heartbeat/nginx                   | 2 +-
e87a70
 heartbeat/nvmet-namespace         | 4 ++--
e87a70
 heartbeat/nvmet-port              | 4 ++--
e87a70
 heartbeat/nvmet-subsystem         | 4 ++--
e87a70
 heartbeat/openstack-cinder-volume | 4 ++--
e87a70
 heartbeat/openstack-floating-ip   | 4 ++--
e87a70
 heartbeat/openstack-info.in       | 2 +-
e87a70
 heartbeat/openstack-virtual-ip    | 4 ++--
e87a70
 heartbeat/oraasm                  | 4 ++--
e87a70
 heartbeat/oracle                  | 2 +-
e87a70
 heartbeat/oralsnr                 | 2 +-
e87a70
 heartbeat/ovsmonitor              | 4 ++--
e87a70
 heartbeat/pgagent                 | 2 +-
e87a70
 heartbeat/pgsql                   | 2 +-
e87a70
 heartbeat/pingd                   | 2 +-
e87a70
 heartbeat/podman                  | 2 +-
e87a70
 heartbeat/portblock               | 2 +-
e87a70
 heartbeat/postfix                 | 4 ++--
e87a70
 heartbeat/pound                   | 2 +-
e87a70
 heartbeat/proftpd                 | 2 +-
e87a70
 heartbeat/rabbitmq-cluster.in     | 2 +-
e87a70
 heartbeat/redis.in                | 2 +-
e87a70
 heartbeat/rkt                     | 2 +-
e87a70
 heartbeat/rsyncd                  | 2 +-
e87a70
 heartbeat/rsyslog.in              | 2 +-
e87a70
 heartbeat/scsi2reservation        | 2 +-
e87a70
 heartbeat/sfex                    | 4 ++--
e87a70
 heartbeat/sg_persist.in           | 4 ++--
e87a70
 heartbeat/slapd.in                | 4 ++--
e87a70
 heartbeat/smb-share.in            | 2 +-
e87a70
 heartbeat/storage-mon.in          | 2 +-
e87a70
 heartbeat/sybaseASE.in            | 2 +-
e87a70
 heartbeat/symlink                 | 4 ++--
e87a70
 heartbeat/syslog-ng.in            | 2 +-
e87a70
 heartbeat/tomcat                  | 2 +-
e87a70
 heartbeat/varnish                 | 2 +-
e87a70
 heartbeat/vdo-vol                 | 4 ++--
e87a70
 heartbeat/vmware                  | 4 ++--
e87a70
 heartbeat/vsftpd.in               | 2 +-
e87a70
 heartbeat/zabbixserver            | 4 ++--
e87a70
 133 files changed, 169 insertions(+), 169 deletions(-)
e87a70
e87a70
diff --git a/heartbeat/AoEtarget.in b/heartbeat/AoEtarget.in
e87a70
index 5e3f01bccd..5a14c1ee7c 100644
e87a70
--- a/heartbeat/AoEtarget.in
e87a70
+++ b/heartbeat/AoEtarget.in
e87a70
@@ -48,7 +48,7 @@ meta_data() {
e87a70
     cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="AoEtarget">
e87a70
+<resource-agent name="AoEtarget" version="1.0">
e87a70
   <version>1.0</version>
e87a70
   <longdesc lang="en">
e87a70
 This resource agent manages an ATA-over-Ethernet (AoE) target using vblade.
e87a70
diff --git a/heartbeat/AudibleAlarm b/heartbeat/AudibleAlarm
e87a70
index 19cb73e610..44a30884e0 100755
e87a70
--- a/heartbeat/AudibleAlarm
e87a70
+++ b/heartbeat/AudibleAlarm
e87a70
@@ -37,7 +37,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="AudibleAlarm">
e87a70
+<resource-agent name="AudibleAlarm" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/CTDB.in b/heartbeat/CTDB.in
e87a70
index a2a83be676..d25d026cab 100755
e87a70
--- a/heartbeat/CTDB.in
e87a70
+++ b/heartbeat/CTDB.in
e87a70
@@ -153,7 +153,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="CTDB">
e87a70
+<resource-agent name="CTDB" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/ClusterMon b/heartbeat/ClusterMon
e87a70
index 2bbf87da4b..161e309638 100755
e87a70
--- a/heartbeat/ClusterMon
e87a70
+++ b/heartbeat/ClusterMon
e87a70
@@ -60,7 +60,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="ClusterMon">
e87a70
+<resource-agent name="ClusterMon" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/Delay b/heartbeat/Delay
e87a70
index 56f4e4f0a7..7ba6623f24 100755
e87a70
--- a/heartbeat/Delay
e87a70
+++ b/heartbeat/Delay
e87a70
@@ -50,7 +50,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="Delay">
e87a70
+<resource-agent name="Delay" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/Dummy b/heartbeat/Dummy
e87a70
index c6f911ba2b..81a675d63a 100755
e87a70
--- a/heartbeat/Dummy
e87a70
+++ b/heartbeat/Dummy
e87a70
@@ -48,7 +48,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="Dummy">
e87a70
+<resource-agent name="Dummy" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/EvmsSCC b/heartbeat/EvmsSCC
e87a70
index 53aba4579c..a69113848f 100755
e87a70
--- a/heartbeat/EvmsSCC
e87a70
+++ b/heartbeat/EvmsSCC
e87a70
@@ -65,7 +65,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="EvmsSCC">
e87a70
+<resource-agent name="EvmsSCC" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/Evmsd b/heartbeat/Evmsd
e87a70
index 1f2413432f..6e30eae61e 100755
e87a70
--- a/heartbeat/Evmsd
e87a70
+++ b/heartbeat/Evmsd
e87a70
@@ -43,7 +43,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="Evmsd">
e87a70
+<resource-agent name="Evmsd" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/Filesystem b/heartbeat/Filesystem
e87a70
index 4554e12d7f..54d24eef7b 100755
e87a70
--- a/heartbeat/Filesystem
e87a70
+++ b/heartbeat/Filesystem
e87a70
@@ -131,8 +131,8 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="Filesystem">
e87a70
-<version>1.1</version>
e87a70
+<resource-agent name="Filesystem" version="1.1">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
 Resource script for Filesystem. It manages a Filesystem on a
e87a70
diff --git a/heartbeat/ICP b/heartbeat/ICP
e87a70
index 90cfa3f740..0bf37dec42 100755
e87a70
--- a/heartbeat/ICP
e87a70
+++ b/heartbeat/ICP
e87a70
@@ -66,7 +66,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="ICP">
e87a70
+<resource-agent name="ICP" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/IPaddr b/heartbeat/IPaddr
e87a70
index fb0deab3bd..9b0ea8174f 100755
e87a70
--- a/heartbeat/IPaddr
e87a70
+++ b/heartbeat/IPaddr
e87a70
@@ -89,7 +89,7 @@ meta_data() {
e87a70
         cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="IPaddr">
e87a70
+<resource-agent name="IPaddr" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 This script manages IP alias IP addresses
e87a70
diff --git a/heartbeat/IPaddr2 b/heartbeat/IPaddr2
e87a70
index db0b0e547d..735dd77795 100755
e87a70
--- a/heartbeat/IPaddr2
e87a70
+++ b/heartbeat/IPaddr2
e87a70
@@ -131,7 +131,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="IPaddr2">
e87a70
+<resource-agent name="IPaddr2" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/IPsrcaddr b/heartbeat/IPsrcaddr
e87a70
index 7cdc3a9fe6..ec868409fe 100755
e87a70
--- a/heartbeat/IPsrcaddr
e87a70
+++ b/heartbeat/IPsrcaddr
e87a70
@@ -93,7 +93,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="IPsrcaddr">
e87a70
+<resource-agent name="IPsrcaddr" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/IPv6addr.c b/heartbeat/IPv6addr.c
e87a70
index c354c9dde8..7d1345cd11 100644
e87a70
--- a/heartbeat/IPv6addr.c
e87a70
+++ b/heartbeat/IPv6addr.c
e87a70
@@ -835,7 +835,7 @@ meta_data_addr6(void)
e87a70
 	const char* meta_data=
e87a70
 	"\n"
e87a70
 	"\n"
e87a70
-	"<resource-agent name=\"IPv6addr\">\n"
e87a70
+	"<resource-agent name=\"IPv6addr\" version=\"1.0\">\n"
e87a70
 	"  <version>1.0</version>\n"
e87a70
 	"  <longdesc lang=\"en\">\n"
e87a70
 	"   This script manages IPv6 alias IPv6 addresses,It can add an IP6\n"
e87a70
diff --git a/heartbeat/LVM b/heartbeat/LVM
e87a70
index 287856e54b..b587bd8e38 100755
e87a70
--- a/heartbeat/LVM
e87a70
+++ b/heartbeat/LVM
e87a70
@@ -67,7 +67,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="LVM">
e87a70
+<resource-agent name="LVM" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/LVM-activate b/heartbeat/LVM-activate
e87a70
index 53223367e9..fadefcb7ab 100755
e87a70
--- a/heartbeat/LVM-activate
e87a70
+++ b/heartbeat/LVM-activate
e87a70
@@ -92,7 +92,7 @@ meta_data() {
e87a70
 
e87a70
 
e87a70
 
e87a70
-<resource-agent name="LVM-activate">
e87a70
+<resource-agent name="LVM-activate" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/LinuxSCSI b/heartbeat/LinuxSCSI
e87a70
index 015251eac4..306e7ee7ba 100755
e87a70
--- a/heartbeat/LinuxSCSI
e87a70
+++ b/heartbeat/LinuxSCSI
e87a70
@@ -113,7 +113,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="LinuxSCSI">
e87a70
+<resource-agent name="LinuxSCSI" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/MailTo b/heartbeat/MailTo
e87a70
index a180f21ffd..56940bafaa 100755
e87a70
--- a/heartbeat/MailTo
e87a70
+++ b/heartbeat/MailTo
e87a70
@@ -52,7 +52,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="MailTo">
e87a70
+<resource-agent name="MailTo" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/ManageRAID.in b/heartbeat/ManageRAID.in
e87a70
index 97301d6e0b..bf5c745f6e 100644
e87a70
--- a/heartbeat/ManageRAID.in
e87a70
+++ b/heartbeat/ManageRAID.in
e87a70
@@ -96,8 +96,8 @@ meta_data()
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="ManageRAID">
e87a70
-  <version>1.00.2</version>
e87a70
+<resource-agent name="ManageRAID" version="1.00.2">
e87a70
+  <version>1.0</version>
e87a70
 
e87a70
   <longdesc lang="en">
e87a70
     Manages starting, stopping and monitoring of RAID devices which
e87a70
diff --git a/heartbeat/ManageVE.in b/heartbeat/ManageVE.in
e87a70
index b8d251d391..f07ca5bdc6 100644
e87a70
--- a/heartbeat/ManageVE.in
e87a70
+++ b/heartbeat/ManageVE.in
e87a70
@@ -73,8 +73,8 @@ meta_data()
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="ManageVE">
e87a70
-  <version>1.00.4</version>
e87a70
+<resource-agent name="ManageVE" version="1.00.4">
e87a70
+  <version>1.0</version>
e87a70
 
e87a70
   <longdesc lang="en">
e87a70
     This OCF compliant resource agent manages OpenVZ VEs and thus requires
e87a70
diff --git a/heartbeat/NodeUtilization b/heartbeat/NodeUtilization
e87a70
index 64b812581b..f98ab13e9c 100755
e87a70
--- a/heartbeat/NodeUtilization
e87a70
+++ b/heartbeat/NodeUtilization
e87a70
@@ -58,7 +58,7 @@ NodeUtilization_meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="NodeUtilization">
e87a70
+<resource-agent name="NodeUtilization" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/Pure-FTPd b/heartbeat/Pure-FTPd
e87a70
index 6638c9db2b..1499dddc98 100755
e87a70
--- a/heartbeat/Pure-FTPd
e87a70
+++ b/heartbeat/Pure-FTPd
e87a70
@@ -54,7 +54,7 @@ meta_data() {
e87a70
     cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="Pure-FTPd">
e87a70
+<resource-agent name="Pure-FTPd" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 This script manages Pure-FTPd in an Active-Passive setup
e87a70
diff --git a/heartbeat/Raid1 b/heartbeat/Raid1
e87a70
index d719df9574..924d94c305 100755
e87a70
--- a/heartbeat/Raid1
e87a70
+++ b/heartbeat/Raid1
e87a70
@@ -67,7 +67,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="Raid1">
e87a70
+<resource-agent name="Raid1" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/Route b/heartbeat/Route
e87a70
index 3faf6d52ee..8b390615af 100755
e87a70
--- a/heartbeat/Route
e87a70
+++ b/heartbeat/Route
e87a70
@@ -50,7 +50,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="Route">
e87a70
+<resource-agent name="Route" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/SAPDatabase b/heartbeat/SAPDatabase
e87a70
index 3486303f10..563a6f3469 100755
e87a70
--- a/heartbeat/SAPDatabase
e87a70
+++ b/heartbeat/SAPDatabase
e87a70
@@ -109,8 +109,8 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="SAPDatabase">
e87a70
-<version>2.14</version>
e87a70
+<resource-agent name="SAPDatabase" version="2.14">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
 Resource script for SAP databases. It manages a SAP database of any type as an HA resource.
e87a70
diff --git a/heartbeat/SAPInstance b/heartbeat/SAPInstance
e87a70
index f8bcbc05b8..016f59aff2 100755
e87a70
--- a/heartbeat/SAPInstance
e87a70
+++ b/heartbeat/SAPInstance
e87a70
@@ -110,8 +110,8 @@ sapinstance_meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="SAPInstance">
e87a70
-<version>2.14</version>
e87a70
+<resource-agent name="SAPInstance" version="2.14">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
 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.
e87a70
diff --git a/heartbeat/SendArp b/heartbeat/SendArp
e87a70
index 9e4cbb1649..5af7bec3be 100755
e87a70
--- a/heartbeat/SendArp
e87a70
+++ b/heartbeat/SendArp
e87a70
@@ -82,7 +82,7 @@ sendarp_meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="SendArp">
e87a70
+<resource-agent name="SendArp" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/ServeRAID b/heartbeat/ServeRAID
e87a70
index 5c5b90451d..6d6596f00a 100755
e87a70
--- a/heartbeat/ServeRAID
e87a70
+++ b/heartbeat/ServeRAID
e87a70
@@ -117,7 +117,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="ServeRAID">
e87a70
+<resource-agent name="ServeRAID" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/SphinxSearchDaemon b/heartbeat/SphinxSearchDaemon
e87a70
index cad03794d6..d4e9e855f6 100755
e87a70
--- a/heartbeat/SphinxSearchDaemon
e87a70
+++ b/heartbeat/SphinxSearchDaemon
e87a70
@@ -51,7 +51,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="SphinxSearchDaemon">
e87a70
+<resource-agent name="SphinxSearchDaemon" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/Squid.in b/heartbeat/Squid.in
e87a70
index b186f9ab12..12e2489364 100644
e87a70
--- a/heartbeat/Squid.in
e87a70
+++ b/heartbeat/Squid.in
e87a70
@@ -87,7 +87,7 @@ metadata_squid()
e87a70
     cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="Squid">
e87a70
+<resource-agent name="Squid" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/Stateful b/heartbeat/Stateful
e87a70
index cc461405a2..aa2284467d 100755
e87a70
--- a/heartbeat/Stateful
e87a70
+++ b/heartbeat/Stateful
e87a70
@@ -45,7 +45,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="Stateful">
e87a70
+<resource-agent name="Stateful" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/SysInfo.in b/heartbeat/SysInfo.in
e87a70
index df4bf6dc00..c57b7b6614 100644
e87a70
--- a/heartbeat/SysInfo.in
e87a70
+++ b/heartbeat/SysInfo.in
e87a70
@@ -48,7 +48,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="SysInfo">
e87a70
+<resource-agent name="SysInfo" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/VIPArip b/heartbeat/VIPArip
e87a70
index 5fc7c94c91..688237d9d2 100755
e87a70
--- a/heartbeat/VIPArip
e87a70
+++ b/heartbeat/VIPArip
e87a70
@@ -49,7 +49,7 @@ meta_data() {
e87a70
 cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="VIPArip">
e87a70
+<resource-agent name="VIPArip" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/VirtualDomain b/heartbeat/VirtualDomain
e87a70
index 140e297361..8db947a516 100755
e87a70
--- a/heartbeat/VirtualDomain
e87a70
+++ b/heartbeat/VirtualDomain
e87a70
@@ -77,8 +77,8 @@ VirtualDomain_meta_data() {
e87a70
 		cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="VirtualDomain">
e87a70
-<version>1.1</version>
e87a70
+<resource-agent name="VirtualDomain" version="1.1">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
 Resource agent for a virtual domain (a.k.a. domU, virtual machine,
e87a70
diff --git a/heartbeat/WAS b/heartbeat/WAS
e87a70
index 3d9831dab8..15b56e99e0 100755
e87a70
--- a/heartbeat/WAS
e87a70
+++ b/heartbeat/WAS
e87a70
@@ -105,7 +105,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="WAS">
e87a70
+<resource-agent name="WAS" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/WAS6 b/heartbeat/WAS6
e87a70
index 8f5f287e06..9223a7ee5b 100755
e87a70
--- a/heartbeat/WAS6
e87a70
+++ b/heartbeat/WAS6
e87a70
@@ -87,7 +87,7 @@ meta_data() {
e87a70
         cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="WAS6">
e87a70
+<resource-agent name="WAS6" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/WinPopup b/heartbeat/WinPopup
e87a70
index ee3f68346e..b48f3b9435 100755
e87a70
--- a/heartbeat/WinPopup
e87a70
+++ b/heartbeat/WinPopup
e87a70
@@ -42,7 +42,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="WinPopup">
e87a70
+<resource-agent name="WinPopup" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/Xen b/heartbeat/Xen
e87a70
index d28e96db68..1ef20d7b79 100755
e87a70
--- a/heartbeat/Xen
e87a70
+++ b/heartbeat/Xen
e87a70
@@ -70,7 +70,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="Xen">
e87a70
+<resource-agent name="Xen" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/Xinetd b/heartbeat/Xinetd
e87a70
index e4cef5a1fa..778e18c1a9 100755
e87a70
--- a/heartbeat/Xinetd
e87a70
+++ b/heartbeat/Xinetd
e87a70
@@ -38,7 +38,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="Xinetd">
e87a70
+<resource-agent name="Xinetd" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/ZFS b/heartbeat/ZFS
e87a70
index 3e1c0e934e..5574d328f0 100755
e87a70
--- a/heartbeat/ZFS
e87a70
+++ b/heartbeat/ZFS
e87a70
@@ -38,7 +38,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="ZFS">
e87a70
+<resource-agent name="ZFS" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 This script manages ZFS pools
e87a70
diff --git a/heartbeat/aliyun-vpc-move-ip b/heartbeat/aliyun-vpc-move-ip
e87a70
index feb575b60c..1a3a1a014c 100755
e87a70
--- a/heartbeat/aliyun-vpc-move-ip
e87a70
+++ b/heartbeat/aliyun-vpc-move-ip
e87a70
@@ -175,8 +175,8 @@ ecs_ip_metadata() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="aliyun-vpc-move-ip">
e87a70
-<version>2.0</version>
e87a70
+<resource-agent name="aliyun-vpc-move-ip" version="2.0">
e87a70
+<version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 Resource Agent to move IP addresses within a VPC of the Aliyun Webservices ECS
e87a70
 by changing an entry in an specific routing table
e87a70
diff --git a/heartbeat/anything b/heartbeat/anything
e87a70
index 766895a5d4..137a612634 100755
e87a70
--- a/heartbeat/anything
e87a70
+++ b/heartbeat/anything
e87a70
@@ -236,7 +236,7 @@ anything_meta() {
e87a70
 cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="anything">
e87a70
+<resource-agent name="anything" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 This is a generic OCF RA to manage almost anything.
e87a70
diff --git a/heartbeat/apache b/heartbeat/apache
e87a70
index b249a46c75..448225ed77 100755
e87a70
--- a/heartbeat/apache
e87a70
+++ b/heartbeat/apache
e87a70
@@ -474,7 +474,7 @@ apache_meta_data(){
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="apache">
e87a70
+<resource-agent name="apache" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/asterisk b/heartbeat/asterisk
e87a70
index ed34d7a10f..272a350f91 100755
e87a70
--- a/heartbeat/asterisk
e87a70
+++ b/heartbeat/asterisk
e87a70
@@ -86,7 +86,7 @@ meta_data() {
e87a70
     cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="asterisk">
e87a70
+<resource-agent name="asterisk" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/aws-vpc-move-ip b/heartbeat/aws-vpc-move-ip
e87a70
index 3ca3d6bd63..5d52040808 100755
e87a70
--- a/heartbeat/aws-vpc-move-ip
e87a70
+++ b/heartbeat/aws-vpc-move-ip
e87a70
@@ -76,8 +76,8 @@ metadata() {
e87a70
 cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="aws-vpc-move-ip">
e87a70
-<version>2.0</version>
e87a70
+<resource-agent name="aws-vpc-move-ip" version="2.0">
e87a70
+<version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 Resource Agent to move IP addresses within a VPC of the Amazon Webservices EC2
e87a70
 by changing an entry in an specific routing table
e87a70
diff --git a/heartbeat/aws-vpc-route53.in b/heartbeat/aws-vpc-route53.in
e87a70
index f7c2dc2427..22cbb35833 100644
e87a70
--- a/heartbeat/aws-vpc-route53.in
e87a70
+++ b/heartbeat/aws-vpc-route53.in
e87a70
@@ -75,7 +75,7 @@ metadata() {
e87a70
 cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="aws-vpc-route53">
e87a70
+<resource-agent name="aws-vpc-route53" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 Update Route53 record of Amazon Webservices EC2 by updating an entry in a
e87a70
diff --git a/heartbeat/awseip b/heartbeat/awseip
e87a70
index 12ffffaa3c..dc48460c85 100755
e87a70
--- a/heartbeat/awseip
e87a70
+++ b/heartbeat/awseip
e87a70
@@ -55,7 +55,7 @@ meta_data() {
e87a70
     cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="awseip">
e87a70
+<resource-agent name="awseip" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/awsvip b/heartbeat/awsvip
e87a70
index 044d049c6b..037278e296 100755
e87a70
--- a/heartbeat/awsvip
e87a70
+++ b/heartbeat/awsvip
e87a70
@@ -54,7 +54,7 @@ meta_data() {
e87a70
     cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="awsvip">
e87a70
+<resource-agent name="awsvip" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/azure-lb b/heartbeat/azure-lb
e87a70
index ade1b45772..7f585bf77c 100755
e87a70
--- a/heartbeat/azure-lb
e87a70
+++ b/heartbeat/azure-lb
e87a70
@@ -47,7 +47,7 @@ lb_metadata() {
e87a70
 cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="azure-lb">
e87a70
+<resource-agent name="azure-lb" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 Resource agent to answer Azure Load Balancer health probe requests
e87a70
diff --git a/heartbeat/clvm.in b/heartbeat/clvm.in
e87a70
index fd9afe24dd..a5db7a5134 100644
e87a70
--- a/heartbeat/clvm.in
e87a70
+++ b/heartbeat/clvm.in
e87a70
@@ -48,7 +48,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="clvm">
e87a70
+<resource-agent name="clvm" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/conntrackd.in b/heartbeat/conntrackd.in
e87a70
index aa6d3b8c94..f115250d6c 100644
e87a70
--- a/heartbeat/conntrackd.in
e87a70
+++ b/heartbeat/conntrackd.in
e87a70
@@ -46,8 +46,8 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="conntrackd">
e87a70
-<version>1.2</version>
e87a70
+<resource-agent name="conntrackd" version="1.2">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
 Master/Slave OCF Resource Agent for conntrackd
e87a70
diff --git a/heartbeat/crypt b/heartbeat/crypt
e87a70
index 05bded7c56..56db379666 100755
e87a70
--- a/heartbeat/crypt
e87a70
+++ b/heartbeat/crypt
e87a70
@@ -50,7 +50,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="crypt">
e87a70
+<resource-agent name="crypt" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/db2 b/heartbeat/db2
e87a70
index 459136cbd7..03146a9570 100755
e87a70
--- a/heartbeat/db2
e87a70
+++ b/heartbeat/db2
e87a70
@@ -58,7 +58,7 @@ db2_meta_data() {
e87a70
 cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="db2">
e87a70
+<resource-agent name="db2" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 Resource Agent that manages an IBM DB2 LUW databases in Standard role as primitive or in HADR roles in master/slave configuration. Multiple partitions are supported.
e87a70
diff --git a/heartbeat/dhcpd b/heartbeat/dhcpd
e87a70
index 46027b39b9..4df4923778 100755
e87a70
--- a/heartbeat/dhcpd
e87a70
+++ b/heartbeat/dhcpd
e87a70
@@ -83,8 +83,8 @@ dhcpd_meta_data()  {
e87a70
         cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="dhcpd">
e87a70
-  <version>0.1</version>
e87a70
+<resource-agent name="dhcpd" version="0.1">
e87a70
+  <version>1.0</version>
e87a70
   <longdesc lang="en">
e87a70
 Manage an ISC DHCP server service in a chroot environment.
e87a70
   </longdesc>
e87a70
diff --git a/heartbeat/dnsupdate.in b/heartbeat/dnsupdate.in
e87a70
index 34a6c56f30..4fcd2a8ba2 100644
e87a70
--- a/heartbeat/dnsupdate.in
e87a70
+++ b/heartbeat/dnsupdate.in
e87a70
@@ -47,7 +47,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="dnsupdate">
e87a70
+<resource-agent name="dnsupdate" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/docker b/heartbeat/docker
e87a70
index 41ac421293..11b46a85a6 100755
e87a70
--- a/heartbeat/docker
e87a70
+++ b/heartbeat/docker
e87a70
@@ -46,7 +46,7 @@ meta_data()
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="docker">
e87a70
+<resource-agent name="docker" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/docker-compose b/heartbeat/docker-compose
e87a70
index 79043ef332..3bc6774186 100755
e87a70
--- a/heartbeat/docker-compose
e87a70
+++ b/heartbeat/docker-compose
e87a70
@@ -54,8 +54,8 @@ meta_data()
e87a70
 cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="docker-compose">
e87a70
-<version>1.0.3</version>
e87a70
+<resource-agent name="docker-compose" version="1.0.3">
e87a70
+<version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 Manages docker services using docker-compose as an OCF resource in an High Availability setup.
e87a70
 It relies on a well-tested docker compose YAML file which distributed on an identical location on all cluster nodes.
e87a70
diff --git a/heartbeat/dovecot b/heartbeat/dovecot
e87a70
index edd3d1ba96..5775241c94 100755
e87a70
--- a/heartbeat/dovecot
e87a70
+++ b/heartbeat/dovecot
e87a70
@@ -49,8 +49,8 @@ meta_data() {
e87a70
         cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="dovecot">
e87a70
-<version>0.1</version>
e87a70
+<resource-agent name="dovecot" version="0.1">
e87a70
+<version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 This script manages Dovecot as an OCF resource in a high-availability setup.
e87a70
 </longdesc>
e87a70
diff --git a/heartbeat/eDir88.in b/heartbeat/eDir88.in
e87a70
index 2ef8bbd7cd..cd945d2c31 100644
e87a70
--- a/heartbeat/eDir88.in
e87a70
+++ b/heartbeat/eDir88.in
e87a70
@@ -81,7 +81,7 @@ eDir_meta_data() {
e87a70
 cat <<-EOFB
e87a70
 
e87a70
 
e87a70
-<resource-agent name="eDir88">
e87a70
+<resource-agent name="eDir88" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/ethmonitor b/heartbeat/ethmonitor
e87a70
index cf0321ab40..e2c3efa285 100755
e87a70
--- a/heartbeat/ethmonitor
e87a70
+++ b/heartbeat/ethmonitor
e87a70
@@ -79,8 +79,8 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="ethmonitor">
e87a70
-<version>1.2</version>
e87a70
+<resource-agent name="ethmonitor" version="1.2">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
 Monitor the vitality of a local network interface.
e87a70
diff --git a/heartbeat/exportfs b/heartbeat/exportfs
e87a70
index 15f30bcbd3..2ad0e9892e 100755
e87a70
--- a/heartbeat/exportfs
e87a70
+++ b/heartbeat/exportfs
e87a70
@@ -27,7 +27,7 @@ exportfs_meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="exportfs">
e87a70
+<resource-agent name="exportfs" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/fio.in b/heartbeat/fio.in
e87a70
index 0347c1ca60..4a312517b4 100644
e87a70
--- a/heartbeat/fio.in
e87a70
+++ b/heartbeat/fio.in
e87a70
@@ -43,7 +43,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="fio">
e87a70
+<resource-agent name="fio" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/galera.in b/heartbeat/galera.in
e87a70
index 7f5f2f1eb2..c363eb2546 100755
e87a70
--- a/heartbeat/galera.in
e87a70
+++ b/heartbeat/galera.in
e87a70
@@ -125,7 +125,7 @@ meta_data() {
e87a70
    cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="galera">
e87a70
+<resource-agent name="galera" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/garbd b/heartbeat/garbd
e87a70
index f2a7266dc7..24a6e69bfc 100755
e87a70
--- a/heartbeat/garbd
e87a70
+++ b/heartbeat/garbd
e87a70
@@ -101,7 +101,7 @@ meta_data() {
e87a70
    cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="garbd">
e87a70
+<resource-agent name="garbd" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/gcp-ilb b/heartbeat/gcp-ilb
e87a70
index 0bac316c4c..28484b2416 100755
e87a70
--- a/heartbeat/gcp-ilb
e87a70
+++ b/heartbeat/gcp-ilb
e87a70
@@ -70,7 +70,7 @@ ilb_metadata() {
e87a70
 cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="gcp-ilb">
e87a70
+<resource-agent name="gcp-ilb" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
     Resource Agent that wraps /usr/bin/nc or /usr/bin/socat to reply to health checks in Google Cloud.
e87a70
diff --git a/heartbeat/gcp-pd-move.in b/heartbeat/gcp-pd-move.in
e87a70
index cbe703c3c5..1e811196e3 100644
e87a70
--- a/heartbeat/gcp-pd-move.in
e87a70
+++ b/heartbeat/gcp-pd-move.in
e87a70
@@ -68,7 +68,7 @@ METADATA_SERVER = 'http://metadata.google.internal/computeMetadata/v1/'
e87a70
 METADATA_HEADERS = {'Metadata-Flavor': 'Google'}
e87a70
 METADATA = '''
e87a70
 
e87a70
-<resource-agent name="gcp-pd-move">
e87a70
+<resource-agent name="gcp-pd-move" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 Resource Agent that can attach or detach a regional/zonal disk on current GCP
e87a70
diff --git a/heartbeat/gcp-vpc-move-ip.in b/heartbeat/gcp-vpc-move-ip.in
e87a70
index c9393481e6..2e63b2bf48 100755
e87a70
--- a/heartbeat/gcp-vpc-move-ip.in
e87a70
+++ b/heartbeat/gcp-vpc-move-ip.in
e87a70
@@ -68,7 +68,7 @@ metadata() {
e87a70
 cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="gcp-vpc-move-ip">
e87a70
+<resource-agent name="gcp-vpc-move-ip" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 Resource Agent that can move a floating IP addresse within a GCP VPC by changing an 
e87a70
diff --git a/heartbeat/gcp-vpc-move-route.in b/heartbeat/gcp-vpc-move-route.in
e87a70
index 6b240c04d0..3f543feeaa 100644
e87a70
--- a/heartbeat/gcp-vpc-move-route.in
e87a70
+++ b/heartbeat/gcp-vpc-move-route.in
e87a70
@@ -70,7 +70,7 @@ METADATA_HEADERS = {'Metadata-Flavor': 'Google'}
e87a70
 METADATA = \
e87a70
 '''
e87a70
 
e87a70
-<resource-agent name="gcp-vpc-move-route">
e87a70
+<resource-agent name="gcp-vpc-move-route" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 Resource Agent that can move a floating IP addresse within a GCP VPC by changing an
e87a70
diff --git a/heartbeat/gcp-vpc-move-vip.in b/heartbeat/gcp-vpc-move-vip.in
e87a70
index 7e9d61f551..331226be5e 100755
e87a70
--- a/heartbeat/gcp-vpc-move-vip.in
e87a70
+++ b/heartbeat/gcp-vpc-move-vip.in
e87a70
@@ -61,7 +61,7 @@ METADATA_HEADERS = {'Metadata-Flavor': 'Google'}
e87a70
 METADATA = \
e87a70
 '''
e87a70
 
e87a70
-<resource-agent name="gcp-vpc-move-vip">
e87a70
+<resource-agent name="gcp-vpc-move-vip" version="1.0">
e87a70
   <version>1.0</version>
e87a70
   <longdesc lang="en">Floating IP Address or Range on Google Cloud Platform - Using Alias IP address functionality to attach a secondary IP range to a running instance</longdesc>
e87a70
   <shortdesc lang="en">Floating IP Address or Range on Google Cloud Platform</shortdesc>
e87a70
diff --git a/heartbeat/iSCSILogicalUnit.in b/heartbeat/iSCSILogicalUnit.in
e87a70
index 767c739666..86ab1b095d 100644
e87a70
--- a/heartbeat/iSCSILogicalUnit.in
e87a70
+++ b/heartbeat/iSCSILogicalUnit.in
e87a70
@@ -91,8 +91,8 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="iSCSILogicalUnit">
e87a70
-<version>0.9</version>
e87a70
+<resource-agent name="iSCSILogicalUnit" version="0.9">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
 Manages iSCSI Logical Unit. An iSCSI Logical unit is a subdivision of
e87a70
diff --git a/heartbeat/iSCSITarget.in b/heartbeat/iSCSITarget.in
e87a70
index 2bfc718b8f..221d484773 100644
e87a70
--- a/heartbeat/iSCSITarget.in
e87a70
+++ b/heartbeat/iSCSITarget.in
e87a70
@@ -62,8 +62,8 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="iSCSITarget">
e87a70
-<version>0.9</version>
e87a70
+<resource-agent name="iSCSITarget" version="0.9">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
 Manages iSCSI targets. An iSCSI target is a collection of SCSI Logical
e87a70
diff --git a/heartbeat/ids b/heartbeat/ids
e87a70
index 8300f69a5c..0d9e1e169e 100755
e87a70
--- a/heartbeat/ids
e87a70
+++ b/heartbeat/ids
e87a70
@@ -129,7 +129,7 @@ ids_meta_data() {
e87a70
     cat <<-!
e87a70
 
e87a70
 
e87a70
-<resource-agent name="ids">
e87a70
+<resource-agent name="ids" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 
e87a70
diff --git a/heartbeat/iface-bridge b/heartbeat/iface-bridge
e87a70
index e1dfecbff4..75d5371ddd 100755
e87a70
--- a/heartbeat/iface-bridge
e87a70
+++ b/heartbeat/iface-bridge
e87a70
@@ -98,7 +98,7 @@ bridge_meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="iface-bridge">
e87a70
+<resource-agent name="iface-bridge" version="1.0">
e87a70
   <version>1.0</version>
e87a70
 
e87a70
   <longdesc lang="en">
e87a70
diff --git a/heartbeat/iface-vlan b/heartbeat/iface-vlan
e87a70
index d0481373c0..019c2e158c 100755
e87a70
--- a/heartbeat/iface-vlan
e87a70
+++ b/heartbeat/iface-vlan
e87a70
@@ -76,7 +76,7 @@ vlan_meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="iface-vlan">
e87a70
+<resource-agent name="iface-vlan" version="1.0">
e87a70
   <version>1.0</version>
e87a70
 
e87a70
   <longdesc lang="en">
e87a70
diff --git a/heartbeat/ipsec b/heartbeat/ipsec
e87a70
index c35c2b337f..c842955bf1 100755
e87a70
--- a/heartbeat/ipsec
e87a70
+++ b/heartbeat/ipsec
e87a70
@@ -50,7 +50,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="ipsec">
e87a70
+<resource-agent name="ipsec" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/iscsi b/heartbeat/iscsi
e87a70
index 602a658014..d25aec234a 100755
e87a70
--- a/heartbeat/iscsi
e87a70
+++ b/heartbeat/iscsi
e87a70
@@ -71,7 +71,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="iscsi">
e87a70
+<resource-agent name="iscsi" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/jboss b/heartbeat/jboss
e87a70
index 76460dabde..948355a083 100755
e87a70
--- a/heartbeat/jboss
e87a70
+++ b/heartbeat/jboss
e87a70
@@ -329,7 +329,7 @@ metadata_jboss()
e87a70
     cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="jboss">
e87a70
+<resource-agent name="jboss" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/jira.in b/heartbeat/jira.in
e87a70
index 6a4d9c5705..66a8e53f0d 100644
e87a70
--- a/heartbeat/jira.in
e87a70
+++ b/heartbeat/jira.in
e87a70
@@ -198,8 +198,8 @@ jira_meta_data(){
e87a70
     cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="jira">
e87a70
-  <version>0.1</version>
e87a70
+<resource-agent name="jira" version="0.1">
e87a70
+  <version>1.0</version>
e87a70
   <longdesc lang="en">
e87a70
 OCF Resource Agent to manage JIRA software
e87a70
   </longdesc>
e87a70
diff --git a/heartbeat/kamailio.in b/heartbeat/kamailio.in
e87a70
index ec194a9135..4f6af3dbd0 100644
e87a70
--- a/heartbeat/kamailio.in
e87a70
+++ b/heartbeat/kamailio.in
e87a70
@@ -89,7 +89,7 @@ meta_data() {
e87a70
   cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="kamailio">
e87a70
+<resource-agent name="kamailio" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/lvmlockd b/heartbeat/lvmlockd
e87a70
index 685eda36e0..05bb0a2e55 100755
e87a70
--- a/heartbeat/lvmlockd
e87a70
+++ b/heartbeat/lvmlockd
e87a70
@@ -50,7 +50,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="lvmlockd">
e87a70
+<resource-agent name="lvmlockd" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/lxc.in b/heartbeat/lxc.in
e87a70
index b6c076b32d..1ffbc46ad3 100644
e87a70
--- a/heartbeat/lxc.in
e87a70
+++ b/heartbeat/lxc.in
e87a70
@@ -58,8 +58,8 @@ meta_data() {
e87a70
 cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="lxc">
e87a70
-<version>0.1</version>
e87a70
+<resource-agent name="lxc" version="0.1">
e87a70
+<version>1.0</version>
e87a70
 <longdesc lang="en">Allows LXC containers to be managed by the cluster.
e87a70
 Notes for lxc Versions before 1.0.0, where the Container is stopped using kill -PWR instead of lxc-stop:
e87a70
 It is 'assumed' that the 'init' system will do an orderly shudown if presented with a 'kill -PWR' signal.
e87a70
diff --git a/heartbeat/lxd-info.in b/heartbeat/lxd-info.in
e87a70
index 5fc928aff3..f9fb44ac49 100644
e87a70
--- a/heartbeat/lxd-info.in
e87a70
+++ b/heartbeat/lxd-info.in
e87a70
@@ -48,7 +48,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="lxd-info">
e87a70
+<resource-agent name="lxd-info" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/machine-info.in b/heartbeat/machine-info.in
e87a70
index aa9bbd4c4c..bfa7ce5fc0 100644
e87a70
--- a/heartbeat/machine-info.in
e87a70
+++ b/heartbeat/machine-info.in
e87a70
@@ -48,7 +48,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="machine-info">
e87a70
+<resource-agent name="machine-info" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/mariadb.in b/heartbeat/mariadb.in
e87a70
index c1969d70e0..3b6feb6f88 100644
e87a70
--- a/heartbeat/mariadb.in
e87a70
+++ b/heartbeat/mariadb.in
e87a70
@@ -72,7 +72,7 @@ meta_data() {
e87a70
    cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="mariadb">
e87a70
+<resource-agent name="mariadb" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/mdraid b/heartbeat/mdraid
e87a70
index 6f5f563f77..1e6a5d0276 100755
e87a70
--- a/heartbeat/mdraid
e87a70
+++ b/heartbeat/mdraid
e87a70
@@ -51,7 +51,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="mdraid">
e87a70
+<resource-agent name="mdraid" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/minio b/heartbeat/minio
e87a70
index 8b47561a49..16ceeed422 100755
e87a70
--- a/heartbeat/minio
e87a70
+++ b/heartbeat/minio
e87a70
@@ -53,7 +53,7 @@ meta_data() {
e87a70
         cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="minio">
e87a70
+<resource-agent name="minio" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 This script manages Minio in an Active-Passive setup
e87a70
diff --git a/heartbeat/mpathpersist.in b/heartbeat/mpathpersist.in
e87a70
index 813a1b1fdc..fcf1b3a4bd 100644
e87a70
--- a/heartbeat/mpathpersist.in
e87a70
+++ b/heartbeat/mpathpersist.in
e87a70
@@ -74,8 +74,8 @@ meta_data() {
e87a70
     cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="mpathpersist">
e87a70
-<version>1.1</version>
e87a70
+<resource-agent name="mpathpersist" version="1.1">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
 This resource agent manages SCSI persistent reservations on multipath devices.
e87a70
diff --git a/heartbeat/mysql b/heartbeat/mysql
e87a70
index a1a223cf10..720de8c1a6 100755
e87a70
--- a/heartbeat/mysql
e87a70
+++ b/heartbeat/mysql
e87a70
@@ -75,7 +75,7 @@ meta_data() {
e87a70
    cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="mysql">
e87a70
+<resource-agent name="mysql" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/mysql-proxy b/heartbeat/mysql-proxy
e87a70
index b79f311259..e34396d9a5 100755
e87a70
--- a/heartbeat/mysql-proxy
e87a70
+++ b/heartbeat/mysql-proxy
e87a70
@@ -109,8 +109,8 @@ meta_data() {
e87a70
         cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="mysql-proxy">
e87a70
-<version>0.1</version>
e87a70
+<resource-agent name="mysql-proxy" version="0.1">
e87a70
+<version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 This script manages MySQL Proxy as an OCF resource in a high-availability setup.
e87a70
 
e87a70
diff --git a/heartbeat/nagios b/heartbeat/nagios
e87a70
index 3d07b141c8..a45d5b8be8 100755
e87a70
--- a/heartbeat/nagios
e87a70
+++ b/heartbeat/nagios
e87a70
@@ -52,8 +52,8 @@ nagios_meta_data() {
e87a70
         cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="nagios">
e87a70
-<version>0.75</version>
e87a70
+<resource-agent name="nagios" version="0.75">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">OCF Resource script for Nagios 3.x or 4.x. It manages a Nagios instance as a HA resource.</longdesc>
e87a70
 <shortdesc lang="en">Nagios resource agent</shortdesc>
e87a70
diff --git a/heartbeat/named b/heartbeat/named
e87a70
index 535410df57..f3a17e9ecd 100755
e87a70
--- a/heartbeat/named
e87a70
+++ b/heartbeat/named
e87a70
@@ -67,7 +67,7 @@ named_meta_data() {
e87a70
         cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="named">
e87a70
+<resource-agent name="named" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/nfsnotify.in b/heartbeat/nfsnotify.in
e87a70
index 8e80f77e97..6e49535577 100644
e87a70
--- a/heartbeat/nfsnotify.in
e87a70
+++ b/heartbeat/nfsnotify.in
e87a70
@@ -58,7 +58,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="nfsnotify">
e87a70
+<resource-agent name="nfsnotify" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/nfsserver b/heartbeat/nfsserver
e87a70
index 96b19abe36..9624ad3abd 100755
e87a70
--- a/heartbeat/nfsserver
e87a70
+++ b/heartbeat/nfsserver
e87a70
@@ -39,7 +39,7 @@ nfsserver_meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="nfsserver">
e87a70
+<resource-agent name="nfsserver" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/nginx b/heartbeat/nginx
e87a70
index 9a778c7f58..07da7681b3 100755
e87a70
--- a/heartbeat/nginx
e87a70
+++ b/heartbeat/nginx
e87a70
@@ -636,7 +636,7 @@ metadata_nginx(){
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="nginx">
e87a70
+<resource-agent name="nginx" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/nvmet-namespace b/heartbeat/nvmet-namespace
e87a70
index 0ea31f121b..fa9a9f8e9c 100755
e87a70
--- a/heartbeat/nvmet-namespace
e87a70
+++ b/heartbeat/nvmet-namespace
e87a70
@@ -41,8 +41,8 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="nvmet-namespace">
e87a70
-<version>0.9</version>
e87a70
+<resource-agent name="nvmet-namespace" version="0.9">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
 Manages NVMe-oF namespaces. An NVMe-oF namespace is part of an NVMe-oF target.
e87a70
diff --git a/heartbeat/nvmet-port b/heartbeat/nvmet-port
e87a70
index 8728857d97..cbf1109754 100755
e87a70
--- a/heartbeat/nvmet-port
e87a70
+++ b/heartbeat/nvmet-port
e87a70
@@ -46,8 +46,8 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="nvmet-port">
e87a70
-<version>0.9</version>
e87a70
+<resource-agent name="nvmet-port" version="0.9">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
 Manages NVMe-oF ports. An NVMe-oF port is part of an NVMe-oF target.
e87a70
diff --git a/heartbeat/nvmet-subsystem b/heartbeat/nvmet-subsystem
e87a70
index d469fc17b2..e004ec142d 100755
e87a70
--- a/heartbeat/nvmet-subsystem
e87a70
+++ b/heartbeat/nvmet-subsystem
e87a70
@@ -41,8 +41,8 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="nvmet-subsystem">
e87a70
-<version>0.9</version>
e87a70
+<resource-agent name="nvmet-subsystem" version="0.9">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
 Manages NVMe-oF subsystems. An NVMe-oF subsystem is part of an NVMe-oF target.
e87a70
diff --git a/heartbeat/openstack-cinder-volume b/heartbeat/openstack-cinder-volume
e87a70
index f18fb5c5e4..4cea25f037 100755
e87a70
--- a/heartbeat/openstack-cinder-volume
e87a70
+++ b/heartbeat/openstack-cinder-volume
e87a70
@@ -59,8 +59,8 @@ metadata() {
e87a70
 cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="openstack-cinder-volume">
e87a70
-<version>2.0</version>
e87a70
+<resource-agent name="openstack-cinder-volume" version="2.0">
e87a70
+<version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 Resource Agent to attach a cinder volume to an instance.
e87a70
 It relies on attributes given by openstack-info resource agent (openstack_id attribute).
e87a70
diff --git a/heartbeat/openstack-floating-ip b/heartbeat/openstack-floating-ip
e87a70
index 0e4a96099f..6a0c5bd7b2 100755
e87a70
--- a/heartbeat/openstack-floating-ip
e87a70
+++ b/heartbeat/openstack-floating-ip
e87a70
@@ -57,8 +57,8 @@ metadata() {
e87a70
 cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="openstack-floating-ip">
e87a70
-<version>2.0</version>
e87a70
+<resource-agent name="openstack-floating-ip" version="2.0">
e87a70
+<version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 Resource Agent to move a floating IP address from an instance to another one.
e87a70
 It relies on attributes given by openstack-info resource agent (openstack_ports, openstack_id attributes).
e87a70
diff --git a/heartbeat/openstack-info.in b/heartbeat/openstack-info.in
e87a70
index 95c95d28ff..53215ed2ef 100755
e87a70
--- a/heartbeat/openstack-info.in
e87a70
+++ b/heartbeat/openstack-info.in
e87a70
@@ -53,7 +53,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="openstack-info">
e87a70
+<resource-agent name="openstack-info" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/openstack-virtual-ip b/heartbeat/openstack-virtual-ip
e87a70
index 45aa87d82e..d96705fdfc 100755
e87a70
--- a/heartbeat/openstack-virtual-ip
e87a70
+++ b/heartbeat/openstack-virtual-ip
e87a70
@@ -57,8 +57,8 @@ metadata() {
e87a70
 cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="openstack-virtual-ip">
e87a70
-<version>2.0</version>
e87a70
+<resource-agent name="openstack-virtual-ip" version="2.0">
e87a70
+<version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 Resource Agent to move a virtual IP address from an instance to another one
e87a70
 by adding an allowed-address pair associated with an instance port.
e87a70
diff --git a/heartbeat/oraasm b/heartbeat/oraasm
e87a70
index 3cc3342125..34c8df0b11 100755
e87a70
--- a/heartbeat/oraasm
e87a70
+++ b/heartbeat/oraasm
e87a70
@@ -42,8 +42,8 @@ oraasm_meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="oraasm">
e87a70
-<version>0.75</version>
e87a70
+<resource-agent name="oraasm" version="0.75">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">OCF Resource script for Oracle ASM. It uses the ohasd init-script to manage a Oracle ASM Disk Group as a HA resource.</longdesc>
e87a70
 <shortdesc lang="en">Oracle ASM resource agent</shortdesc>
e87a70
diff --git a/heartbeat/oracle b/heartbeat/oracle
e87a70
index 124060834e..caee18a8ac 100755
e87a70
--- a/heartbeat/oracle
e87a70
+++ b/heartbeat/oracle
e87a70
@@ -74,7 +74,7 @@ oracle_meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="oracle">
e87a70
+<resource-agent name="oracle" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/oralsnr b/heartbeat/oralsnr
e87a70
index 1ecf8fca88..dd0df1c614 100755
e87a70
--- a/heartbeat/oralsnr
e87a70
+++ b/heartbeat/oralsnr
e87a70
@@ -70,7 +70,7 @@ oralsnr_meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="oralsnr">
e87a70
+<resource-agent name="oralsnr" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/ovsmonitor b/heartbeat/ovsmonitor
e87a70
index 8a80a8c923..d03902ea88 100755
e87a70
--- a/heartbeat/ovsmonitor
e87a70
+++ b/heartbeat/ovsmonitor
e87a70
@@ -72,8 +72,8 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="ovsmonitor">
e87a70
-<version>0.1</version>
e87a70
+<resource-agent name="ovsmonitor" version="0.1">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
 Monitor the vitality of a local ovs bond.
e87a70
diff --git a/heartbeat/pgagent b/heartbeat/pgagent
e87a70
index eea80fe4ac..b1e61b35d0 100755
e87a70
--- a/heartbeat/pgagent
e87a70
+++ b/heartbeat/pgagent
e87a70
@@ -79,7 +79,7 @@ meta_data() {
e87a70
         cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="pgagent">
e87a70
+<resource-agent name="pgagent" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 <longdesc lang="en">This is a pgagent Resource Agent.</longdesc>
e87a70
 <shortdesc lang="en">Controls pgagent</shortdesc>
e87a70
diff --git a/heartbeat/pgsql b/heartbeat/pgsql
e87a70
index a93400c0e5..e3a39038fb 100755
e87a70
--- a/heartbeat/pgsql
e87a70
+++ b/heartbeat/pgsql
e87a70
@@ -132,7 +132,7 @@ meta_data() {
e87a70
     cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="pgsql">
e87a70
+<resource-agent name="pgsql" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/pingd b/heartbeat/pingd
e87a70
index 57fa0dba37..e2d5c31a66 100755
e87a70
--- a/heartbeat/pingd
e87a70
+++ b/heartbeat/pingd
e87a70
@@ -61,7 +61,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="pingd">
e87a70
+<resource-agent name="pingd" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/podman b/heartbeat/podman
e87a70
index 034dfff76e..fd901c968e 100755
e87a70
--- a/heartbeat/podman
e87a70
+++ b/heartbeat/podman
e87a70
@@ -47,7 +47,7 @@ meta_data()
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="podman">
e87a70
+<resource-agent name="podman" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/portblock b/heartbeat/portblock
e87a70
index 2e84a101f9..f1a7cc8c1b 100755
e87a70
--- a/heartbeat/portblock
e87a70
+++ b/heartbeat/portblock
e87a70
@@ -131,7 +131,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="portblock">
e87a70
+<resource-agent name="portblock" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/postfix b/heartbeat/postfix
e87a70
index 300fbc3688..7f88a91fbe 100755
e87a70
--- a/heartbeat/postfix
e87a70
+++ b/heartbeat/postfix
e87a70
@@ -52,8 +52,8 @@ meta_data() {
e87a70
         cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="postfix">
e87a70
-<version>0.1</version>
e87a70
+<resource-agent name="postfix" version="0.1">
e87a70
+<version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 This script manages Postfix as an OCF resource in a high-availability setup.
e87a70
 </longdesc>
e87a70
diff --git a/heartbeat/pound b/heartbeat/pound
e87a70
index 7a0ad547b4..48aa221839 100755
e87a70
--- a/heartbeat/pound
e87a70
+++ b/heartbeat/pound
e87a70
@@ -50,7 +50,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="pound">
e87a70
+<resource-agent name="pound" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/proftpd b/heartbeat/proftpd
e87a70
index e5cf36eece..a9fc5ffd76 100755
e87a70
--- a/heartbeat/proftpd
e87a70
+++ b/heartbeat/proftpd
e87a70
@@ -61,7 +61,7 @@ meta_data() {
e87a70
         cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="proftpd">
e87a70
+<resource-agent name="proftpd" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 This script manages Proftpd in an Active-Passive setup
e87a70
diff --git a/heartbeat/rabbitmq-cluster.in b/heartbeat/rabbitmq-cluster.in
e87a70
index abd0662f26..0b8916c287 100755
e87a70
--- a/heartbeat/rabbitmq-cluster.in
e87a70
+++ b/heartbeat/rabbitmq-cluster.in
e87a70
@@ -67,7 +67,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="rabbitmq-cluster">
e87a70
+<resource-agent name="rabbitmq-cluster" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/redis.in b/heartbeat/redis.in
e87a70
index f53d469641..7f886c7ea9 100755
e87a70
--- a/heartbeat/redis.in
e87a70
+++ b/heartbeat/redis.in
e87a70
@@ -91,7 +91,7 @@ redis_meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="redis">
e87a70
+<resource-agent name="redis" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/rkt b/heartbeat/rkt
e87a70
index 2d3ef0e24c..724986f6c8 100755
e87a70
--- a/heartbeat/rkt
e87a70
+++ b/heartbeat/rkt
e87a70
@@ -40,7 +40,7 @@ meta_data()
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="rkt">
e87a70
+<resource-agent name="rkt" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/rsyncd b/heartbeat/rsyncd
e87a70
index cd4ab91c5a..d15aaf6a8a 100755
e87a70
--- a/heartbeat/rsyncd
e87a70
+++ b/heartbeat/rsyncd
e87a70
@@ -52,7 +52,7 @@ meta_data()
e87a70
 cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="rsyncd">
e87a70
+<resource-agent name="rsyncd" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 This script manages rsync daemon
e87a70
diff --git a/heartbeat/rsyslog.in b/heartbeat/rsyslog.in
e87a70
index 9cb9a0ad68..80d5c17563 100644
e87a70
--- a/heartbeat/rsyslog.in
e87a70
+++ b/heartbeat/rsyslog.in
e87a70
@@ -74,7 +74,7 @@ metadata_rsyslog()
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="rsyslog">
e87a70
+<resource-agent name="rsyslog" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/scsi2reservation b/heartbeat/scsi2reservation
e87a70
index 3e4ff9584f..9b29ec4608 100755
e87a70
--- a/heartbeat/scsi2reservation
e87a70
+++ b/heartbeat/scsi2reservation
e87a70
@@ -23,7 +23,7 @@ scsi2reserve_meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="scsi2reservation">
e87a70
+<resource-agent name="scsi2reservation" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/sfex b/heartbeat/sfex
e87a70
index ac82191938..b079ca0aac 100755
e87a70
--- a/heartbeat/sfex
e87a70
+++ b/heartbeat/sfex
e87a70
@@ -68,8 +68,8 @@ meta_data() {
e87a70
     cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="sfex">
e87a70
-<version>1.3</version>
e87a70
+<resource-agent name="sfex" version="1.3">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
 Resource script for SF-EX. It manages a shared storage medium exclusively .
e87a70
diff --git a/heartbeat/sg_persist.in b/heartbeat/sg_persist.in
e87a70
index 7af38034e7..678762f408 100644
e87a70
--- a/heartbeat/sg_persist.in
e87a70
+++ b/heartbeat/sg_persist.in
e87a70
@@ -75,8 +75,8 @@ meta_data() {
e87a70
     cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="sg_persist">
e87a70
-<version>1.1</version>
e87a70
+<resource-agent name="sg_persist" version="1.1">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
 This resource agent manages SCSI PERSISTENT RESERVATIONS.
e87a70
diff --git a/heartbeat/slapd.in b/heartbeat/slapd.in
e87a70
index bd3995bdc1..ffccd1d357 100644
e87a70
--- a/heartbeat/slapd.in
e87a70
+++ b/heartbeat/slapd.in
e87a70
@@ -89,8 +89,8 @@ meta_data()
e87a70
   cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="slapd">
e87a70
-<version>0.1</version>
e87a70
+<resource-agent name="slapd" version="0.1">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
 Resource script for Stand-alone LDAP Daemon (slapd). It manages a slapd instance as an OCF resource.
e87a70
diff --git a/heartbeat/smb-share.in b/heartbeat/smb-share.in
e87a70
index a904febb1a..8a1a0a8604 100755
e87a70
--- a/heartbeat/smb-share.in
e87a70
+++ b/heartbeat/smb-share.in
e87a70
@@ -138,7 +138,7 @@ meta_data() {
e87a70
         cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="smb-share">
e87a70
+<resource-agent name="smb-share" version="1.0">
e87a70
     <version>1.0</version>
e87a70
     <longdesc lang="en">
e87a70
 This RA is used to control samba shares on the fly.
e87a70
diff --git a/heartbeat/storage-mon.in b/heartbeat/storage-mon.in
e87a70
index 875095670e..4cd861c1b6 100644
e87a70
--- a/heartbeat/storage-mon.in
e87a70
+++ b/heartbeat/storage-mon.in
e87a70
@@ -69,7 +69,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="storage-mon">
e87a70
+<resource-agent name="storage-mon" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/sybaseASE.in b/heartbeat/sybaseASE.in
e87a70
index fef76474e6..8b315029b1 100755
e87a70
--- a/heartbeat/sybaseASE.in
e87a70
+++ b/heartbeat/sybaseASE.in
e87a70
@@ -139,7 +139,7 @@ meta_data()
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="sybaseASE" >
e87a70
+<resource-agent name="sybaseASE" version="1.0">
e87a70
 	<version>1.0</version>
e87a70
 
e87a70
 	<longdesc lang="en">
e87a70
diff --git a/heartbeat/symlink b/heartbeat/symlink
e87a70
index 1266061ddf..decd9f74e5 100755
e87a70
--- a/heartbeat/symlink
e87a70
+++ b/heartbeat/symlink
e87a70
@@ -37,8 +37,8 @@ meta_data() {
e87a70
         cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="symlink">
e87a70
-<version>1.1</version>
e87a70
+<resource-agent name="symlink" version="1.1">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
 This resource agent that manages a symbolic link (symlink).
e87a70
diff --git a/heartbeat/syslog-ng.in b/heartbeat/syslog-ng.in
e87a70
index 47a23f1887..246db28b76 100644
e87a70
--- a/heartbeat/syslog-ng.in
e87a70
+++ b/heartbeat/syslog-ng.in
e87a70
@@ -88,7 +88,7 @@ metadata_syslog_ng()
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="syslog-ng">
e87a70
+<resource-agent name="syslog-ng" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/tomcat b/heartbeat/tomcat
e87a70
index 4e6c04c376..fa2715140b 100755
e87a70
--- a/heartbeat/tomcat
e87a70
+++ b/heartbeat/tomcat
e87a70
@@ -339,7 +339,7 @@ metadata_tomcat()
e87a70
     cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="tomcat">
e87a70
+<resource-agent name="tomcat" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/varnish b/heartbeat/varnish
e87a70
index 07a4f6449f..5fbf35c61a 100755
e87a70
--- a/heartbeat/varnish
e87a70
+++ b/heartbeat/varnish
e87a70
@@ -85,7 +85,7 @@ meta_data() {
e87a70
 	cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="varnish">
e87a70
+<resource-agent name="varnish" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
diff --git a/heartbeat/vdo-vol b/heartbeat/vdo-vol
e87a70
index 3c79df58a2..94822cb82c 100755
e87a70
--- a/heartbeat/vdo-vol
e87a70
+++ b/heartbeat/vdo-vol
e87a70
@@ -38,8 +38,8 @@ vdo_meta_data() {
e87a70
         cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="vdo-vol">
e87a70
-<version>0.75</version>
e87a70
+<resource-agent name="vdo-vol" version="0.75">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
 OCF Resource script for VDO (Virtual Data Optimizer) volume(s). It manages VDO volume(s) as a HA resource.
e87a70
diff --git a/heartbeat/vmware b/heartbeat/vmware
e87a70
index 7cd61dd5fd..f784fb10ad 100755
e87a70
--- a/heartbeat/vmware
e87a70
+++ b/heartbeat/vmware
e87a70
@@ -311,8 +311,8 @@ meta_data() {
e87a70
   cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="vmware">
e87a70
-<version>0.2</version>
e87a70
+<resource-agent name="vmware" version="0.2">
e87a70
+<version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 OCF compliant script to control vmware server 2.0 virtual machines.
e87a70
 </longdesc>
e87a70
diff --git a/heartbeat/vsftpd.in b/heartbeat/vsftpd.in
e87a70
index 57f6669b7a..3831c4fa82 100644
e87a70
--- a/heartbeat/vsftpd.in
e87a70
+++ b/heartbeat/vsftpd.in
e87a70
@@ -50,7 +50,7 @@ meta_data()
e87a70
 cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="vsftpd">
e87a70
+<resource-agent name="vsftpd" version="1.0">
e87a70
 <version>1.0</version>
e87a70
 <longdesc lang="en">
e87a70
 This script manages vsftpd
e87a70
diff --git a/heartbeat/zabbixserver b/heartbeat/zabbixserver
e87a70
index 08f7e798b7..b4b5b7c2be 100755
e87a70
--- a/heartbeat/zabbixserver
e87a70
+++ b/heartbeat/zabbixserver
e87a70
@@ -55,8 +55,8 @@ zabbixserver_meta_data() {
e87a70
     cat <
e87a70
 
e87a70
 
e87a70
-<resource-agent name="zabbixserver">
e87a70
-<version>0.0.1</version>
e87a70
+<resource-agent name="zabbixserver" version="0.0.1">
e87a70
+<version>1.0</version>
e87a70
 
e87a70
 <longdesc lang="en">
e87a70
 This is a Zabbix server Resource Agent for zabbix_server monitoring
e87a70
e87a70
From d03aedd47b392437d11a24be1bcc5696caa7fbc5 Mon Sep 17 00:00:00 2001
e87a70
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
e87a70
Date: Thu, 7 Oct 2021 11:10:51 +0200
e87a70
Subject: [PATCH 2/3] ocf.py: add agent and OCF version parameters (both
e87a70
 defaults to 1.0)
e87a70
e87a70
---
e87a70
 heartbeat/ocf.py | 10 +++++++---
e87a70
 1 file changed, 7 insertions(+), 3 deletions(-)
e87a70
e87a70
diff --git a/heartbeat/ocf.py b/heartbeat/ocf.py
e87a70
index 6dbc10d6b7..dda2fed4bb 100644
e87a70
--- a/heartbeat/ocf.py
e87a70
+++ b/heartbeat/ocf.py
e87a70
@@ -305,10 +305,12 @@ class Agent(object):
e87a70
 	of how to use it.
e87a70
 	"""
e87a70
 
e87a70
-	def __init__(self, name, shortdesc, longdesc):
e87a70
+	def __init__(self, name, shortdesc, longdesc, version=1.0, ocf_version=1.0):
e87a70
 		self.name = name
e87a70
 		self.shortdesc = shortdesc
e87a70
 		self.longdesc = longdesc
e87a70
+		self.version = version
e87a70
+		self.ocf_version = ocf_version
e87a70
 		self.parameters = []
e87a70
 		self.actions = []
e87a70
 		self._handlers = {}
e87a70
@@ -342,8 +344,8 @@ def __str__(self):
e87a70
 	def to_xml(self):
e87a70
 		return """
e87a70
 
e87a70
-<resource-agent name="{name}">
e87a70
-<version>1.0</version>
e87a70
+<resource-agent name="{name}" version="{version}">
e87a70
+<version>{ocf_version}</version>
e87a70
 <longdesc lang="en">
e87a70
 {longdesc}
e87a70
 </longdesc>
e87a70
@@ -359,6 +361,8 @@ def to_xml(self):
e87a70
 
e87a70
 </resource-agent>
e87a70
 """.format(name=self.name,
e87a70
+		   version = self.version,
e87a70
+		   ocf_version = self.ocf_version,
e87a70
 		   longdesc=self.longdesc,
e87a70
 		   shortdesc=self.shortdesc,
e87a70
 		   parameters="".join(p.to_xml() for p in self.parameters),
e87a70
e87a70
From 22dd98f5c325d0b48ade6ad7406d3c45b7dfec2c Mon Sep 17 00:00:00 2001
e87a70
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
e87a70
Date: Thu, 7 Oct 2021 15:29:25 +0200
e87a70
Subject: [PATCH 3/3] metadata.rng: update to support resource agent version
e87a70
 according to the OCF standard
e87a70
e87a70
---
e87a70
 heartbeat/metadata.rng | 2 ++
e87a70
 1 file changed, 2 insertions(+)
e87a70
e87a70
diff --git a/heartbeat/metadata.rng b/heartbeat/metadata.rng
e87a70
index ac534db82d..3dd7355472 100644
e87a70
--- a/heartbeat/metadata.rng
e87a70
+++ b/heartbeat/metadata.rng
e87a70
@@ -2,6 +2,8 @@
e87a70
 
e87a70
 <start><element name="resource-agent">
e87a70
 	<attribute name="name" />
e87a70
+	<optional><attribute name="version" /></optional>
e87a70
+
e87a70
 	<element name="version"> <text /> </element>
e87a70
 	<element name="longdesc"> <attribute name="lang" /> <text /> </element>
e87a70
 	<element name="shortdesc"> <attribute name="lang" /> <text /> </element>