!33 fence_ipmilan: fix typo in description
From: @xiangbudaomz Reviewed-by: @bixiaoyan1 Signed-off-by: @bixiaoyan1
This commit is contained in:
commit
1b68cdf2bb
@ -6,11 +6,12 @@
|
|||||||
Name: fence-agents
|
Name: fence-agents
|
||||||
Summary: Set of unified programs capable of host isolation ("fencing")
|
Summary: Set of unified programs capable of host isolation ("fencing")
|
||||||
Version: 4.12.1
|
Version: 4.12.1
|
||||||
Release: 3
|
Release: 4
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: https://github.com/ClusterLabs/fence-agents
|
URL: https://github.com/ClusterLabs/fence-agents
|
||||||
Source0: https://github.com/ClusterLabs/fence-agents/archive//v%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/ClusterLabs/fence-agents/archive//v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
Patch0: fence_ipmilan-fix-typo-in-description.patch
|
||||||
|
|
||||||
# skipped: pve, raritan, rcd-serial, virsh
|
# skipped: pve, raritan, rcd-serial, virsh
|
||||||
%global allfenceagents %(cat <<EOF
|
%global allfenceagents %(cat <<EOF
|
||||||
@ -115,6 +116,7 @@ BuildRequires: systemd-units
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
%autopatch -p1
|
||||||
# prevent compilation of something that won't get used anyway
|
# prevent compilation of something that won't get used anyway
|
||||||
sed -i.orig 's|FENCE_ZVM=1|FENCE_ZVM=0|' configure.ac
|
sed -i.orig 's|FENCE_ZVM=1|FENCE_ZVM=0|' configure.ac
|
||||||
sed -i '/Requires=network.target/a Requires=libvirtd.service' agents/virt/fence_virtd.service.in
|
sed -i '/Requires=network.target/a Requires=libvirtd.service' agents/virt/fence_virtd.service.in
|
||||||
@ -1125,6 +1127,9 @@ are located on corosync cluster nodes.
|
|||||||
%{_libdir}/fence-virt/cpg.so
|
%{_libdir}/fence-virt/cpg.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 18 2024 zouzhimin <zouzhimin@kylinos.cn> - 4.12.1-4
|
||||||
|
- fence_ipmilan: fix typo in description
|
||||||
|
|
||||||
* Thu Apr 18 2024 zouzhimin <zouzhimin@kylinos.cn> - 4.12.1-3
|
* Thu Apr 18 2024 zouzhimin <zouzhimin@kylinos.cn> - 4.12.1-3
|
||||||
- fix RPM build warnings
|
- fix RPM build warnings
|
||||||
|
|
||||||
|
|||||||
125
fence_ipmilan-fix-typo-in-description.patch
Normal file
125
fence_ipmilan-fix-typo-in-description.patch
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
From d989961f691c8e84b8a94f1b68ac88296753072d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Or Raz <oraz@redhat.com>
|
||||||
|
Date: Thu, 20 Jul 2023 13:22:58 +0300
|
||||||
|
Subject: [PATCH] fence_ipmilan: fix typo in description (#553)
|
||||||
|
|
||||||
|
---
|
||||||
|
agents/ipmilan/fence_ipmilan.py | 4 ++--
|
||||||
|
tests/data/metadata/fence_idrac.xml | 2 +-
|
||||||
|
tests/data/metadata/fence_ilo3.xml | 2 +-
|
||||||
|
tests/data/metadata/fence_ilo4.xml | 2 +-
|
||||||
|
tests/data/metadata/fence_ilo5.xml | 2 +-
|
||||||
|
tests/data/metadata/fence_imm.xml | 2 +-
|
||||||
|
tests/data/metadata/fence_ipmilan.xml | 2 +-
|
||||||
|
tests/data/metadata/fence_ipmilanplus.xml | 2 +-
|
||||||
|
8 files changed, 9 insertions(+), 9 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/agents/ipmilan/fence_ipmilan.py b/agents/ipmilan/fence_ipmilan.py
|
||||||
|
index 0acf977d..91e09ac7 100644
|
||||||
|
--- a/agents/ipmilan/fence_ipmilan.py
|
||||||
|
+++ b/agents/ipmilan/fence_ipmilan.py
|
||||||
|
@@ -203,8 +203,8 @@ def main():
|
||||||
|
|
||||||
|
docs = {}
|
||||||
|
docs["shortdesc"] = "Fence agent for IPMI"
|
||||||
|
- docs["longdesc"] = "fence_ipmilan is an I/O Fencing agent\
|
||||||
|
-which can be used with machines controlled by IPMI.\
|
||||||
|
+ docs["longdesc"] = "fence_ipmilan is an I/O Fencing agent \
|
||||||
|
+which can be used with machines controlled by IPMI. \
|
||||||
|
This agent calls support software ipmitool (http://ipmitool.sf.net/). \
|
||||||
|
WARNING! This fence agent might report success before the node is powered off. \
|
||||||
|
You should use -m/method onoff if your fence device works correctly with that option."
|
||||||
|
diff --git a/tests/data/metadata/fence_idrac.xml b/tests/data/metadata/fence_idrac.xml
|
||||||
|
index 2d487649..d1f283e4 100644
|
||||||
|
--- a/tests/data/metadata/fence_idrac.xml
|
||||||
|
+++ b/tests/data/metadata/fence_idrac.xml
|
||||||
|
@@ -6,7 +6,7 @@
|
||||||
|
<symlink name="fence_ipmilanplus" shortdesc="Fence agent for IPMIv2 lanplus"/>
|
||||||
|
<symlink name="fence_imm" shortdesc="Fence agent for IBM Integrated Management Module"/>
|
||||||
|
<symlink name="fence_idrac" shortdesc="Fence agent for Dell iDRAC"/>
|
||||||
|
-<longdesc>fence_ipmilan is an I/O Fencing agentwhich can be used with machines controlled by IPMI.This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option.</longdesc>
|
||||||
|
+<longdesc>fence_ipmilan is an I/O Fencing agent which can be used with machines controlled by IPMI. This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option.</longdesc>
|
||||||
|
<vendor-url></vendor-url>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="action" unique="0" required="1">
|
||||||
|
diff --git a/tests/data/metadata/fence_ilo3.xml b/tests/data/metadata/fence_ilo3.xml
|
||||||
|
index 0567b539..5aca0211 100644
|
||||||
|
--- a/tests/data/metadata/fence_ilo3.xml
|
||||||
|
+++ b/tests/data/metadata/fence_ilo3.xml
|
||||||
|
@@ -6,7 +6,7 @@
|
||||||
|
<symlink name="fence_ipmilanplus" shortdesc="Fence agent for IPMIv2 lanplus"/>
|
||||||
|
<symlink name="fence_imm" shortdesc="Fence agent for IBM Integrated Management Module"/>
|
||||||
|
<symlink name="fence_idrac" shortdesc="Fence agent for Dell iDRAC"/>
|
||||||
|
-<longdesc>fence_ipmilan is an I/O Fencing agentwhich can be used with machines controlled by IPMI.This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option.</longdesc>
|
||||||
|
+<longdesc>fence_ipmilan is an I/O Fencing agent which can be used with machines controlled by IPMI. This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option.</longdesc>
|
||||||
|
<vendor-url></vendor-url>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="action" unique="0" required="1">
|
||||||
|
diff --git a/tests/data/metadata/fence_ilo4.xml b/tests/data/metadata/fence_ilo4.xml
|
||||||
|
index 647bb102..3aa001ad 100644
|
||||||
|
--- a/tests/data/metadata/fence_ilo4.xml
|
||||||
|
+++ b/tests/data/metadata/fence_ilo4.xml
|
||||||
|
@@ -6,7 +6,7 @@
|
||||||
|
<symlink name="fence_ipmilanplus" shortdesc="Fence agent for IPMIv2 lanplus"/>
|
||||||
|
<symlink name="fence_imm" shortdesc="Fence agent for IBM Integrated Management Module"/>
|
||||||
|
<symlink name="fence_idrac" shortdesc="Fence agent for Dell iDRAC"/>
|
||||||
|
-<longdesc>fence_ipmilan is an I/O Fencing agentwhich can be used with machines controlled by IPMI.This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option.</longdesc>
|
||||||
|
+<longdesc>fence_ipmilan is an I/O Fencing agent which can be used with machines controlled by IPMI. This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option.</longdesc>
|
||||||
|
<vendor-url></vendor-url>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="action" unique="0" required="1">
|
||||||
|
diff --git a/tests/data/metadata/fence_ilo5.xml b/tests/data/metadata/fence_ilo5.xml
|
||||||
|
index 6c99db22..26278790 100644
|
||||||
|
--- a/tests/data/metadata/fence_ilo5.xml
|
||||||
|
+++ b/tests/data/metadata/fence_ilo5.xml
|
||||||
|
@@ -6,7 +6,7 @@
|
||||||
|
<symlink name="fence_ipmilanplus" shortdesc="Fence agent for IPMIv2 lanplus"/>
|
||||||
|
<symlink name="fence_imm" shortdesc="Fence agent for IBM Integrated Management Module"/>
|
||||||
|
<symlink name="fence_idrac" shortdesc="Fence agent for Dell iDRAC"/>
|
||||||
|
-<longdesc>fence_ipmilan is an I/O Fencing agentwhich can be used with machines controlled by IPMI.This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option.</longdesc>
|
||||||
|
+<longdesc>fence_ipmilan is an I/O Fencing agent which can be used with machines controlled by IPMI. This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option.</longdesc>
|
||||||
|
<vendor-url></vendor-url>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="action" unique="0" required="1">
|
||||||
|
diff --git a/tests/data/metadata/fence_imm.xml b/tests/data/metadata/fence_imm.xml
|
||||||
|
index 5c5bf910..26f9a76d 100644
|
||||||
|
--- a/tests/data/metadata/fence_imm.xml
|
||||||
|
+++ b/tests/data/metadata/fence_imm.xml
|
||||||
|
@@ -6,7 +6,7 @@
|
||||||
|
<symlink name="fence_ipmilanplus" shortdesc="Fence agent for IPMIv2 lanplus"/>
|
||||||
|
<symlink name="fence_imm" shortdesc="Fence agent for IBM Integrated Management Module"/>
|
||||||
|
<symlink name="fence_idrac" shortdesc="Fence agent for Dell iDRAC"/>
|
||||||
|
-<longdesc>fence_ipmilan is an I/O Fencing agentwhich can be used with machines controlled by IPMI.This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option.</longdesc>
|
||||||
|
+<longdesc>fence_ipmilan is an I/O Fencing agent which can be used with machines controlled by IPMI. This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option.</longdesc>
|
||||||
|
<vendor-url></vendor-url>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="action" unique="0" required="1">
|
||||||
|
diff --git a/tests/data/metadata/fence_ipmilan.xml b/tests/data/metadata/fence_ipmilan.xml
|
||||||
|
index a31afcfd..daad65a7 100644
|
||||||
|
--- a/tests/data/metadata/fence_ipmilan.xml
|
||||||
|
+++ b/tests/data/metadata/fence_ipmilan.xml
|
||||||
|
@@ -6,7 +6,7 @@
|
||||||
|
<symlink name="fence_ipmilanplus" shortdesc="Fence agent for IPMIv2 lanplus"/>
|
||||||
|
<symlink name="fence_imm" shortdesc="Fence agent for IBM Integrated Management Module"/>
|
||||||
|
<symlink name="fence_idrac" shortdesc="Fence agent for Dell iDRAC"/>
|
||||||
|
-<longdesc>fence_ipmilan is an I/O Fencing agentwhich can be used with machines controlled by IPMI.This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option.</longdesc>
|
||||||
|
+<longdesc>fence_ipmilan is an I/O Fencing agent which can be used with machines controlled by IPMI. This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option.</longdesc>
|
||||||
|
<vendor-url></vendor-url>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="action" unique="0" required="1">
|
||||||
|
diff --git a/tests/data/metadata/fence_ipmilanplus.xml b/tests/data/metadata/fence_ipmilanplus.xml
|
||||||
|
index 19c25293..7b678b24 100644
|
||||||
|
--- a/tests/data/metadata/fence_ipmilanplus.xml
|
||||||
|
+++ b/tests/data/metadata/fence_ipmilanplus.xml
|
||||||
|
@@ -6,7 +6,7 @@
|
||||||
|
<symlink name="fence_ipmilanplus" shortdesc="Fence agent for IPMIv2 lanplus"/>
|
||||||
|
<symlink name="fence_imm" shortdesc="Fence agent for IBM Integrated Management Module"/>
|
||||||
|
<symlink name="fence_idrac" shortdesc="Fence agent for Dell iDRAC"/>
|
||||||
|
-<longdesc>fence_ipmilan is an I/O Fencing agentwhich can be used with machines controlled by IPMI.This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option.</longdesc>
|
||||||
|
+<longdesc>fence_ipmilan is an I/O Fencing agent which can be used with machines controlled by IPMI. This agent calls support software ipmitool (http://ipmitool.sf.net/). WARNING! This fence agent might report success before the node is powered off. You should use -m/method onoff if your fence device works correctly with that option.</longdesc>
|
||||||
|
<vendor-url></vendor-url>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="action" unique="0" required="1">
|
||||||
|
--
|
||||||
|
2.25.1
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user