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

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