cluster: STABLE3 - config: Present fencing agent name in metadata

Lon Hohberger lon at fedoraproject.org
Wed Sep 1 20:50:10 UTC 2010


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=e825e41a39cf381572c45fae7e4b86438987b014
Commit:        e825e41a39cf381572c45fae7e4b86438987b014
Parent:        dbbe08f9dbabb188205ffd6cc52a3130acead770
Author:        Lon Hohberger <lhh at redhat.com>
AuthorDate:    Wed Sep 1 16:40:23 2010 -0400
Committer:     Lon Hohberger <lhh at redhat.com>
CommitterDate: Wed Sep 1 16:47:25 2010 -0400

config: Present fencing agent name in metadata

Signed-off-by: Lon Hohberger <lhh at redhat.com>
---
 fence/agents/lib/fence2rng.xsl |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/fence/agents/lib/fence2rng.xsl b/fence/agents/lib/fence2rng.xsl
index 8d23ed9..e132258 100644
--- a/fence/agents/lib/fence2rng.xsl
+++ b/fence/agents/lib/fence2rng.xsl
@@ -6,8 +6,7 @@
 	<xsl:value-of select="$normalized"/>
 </xsl:template>
 <xsl:template match="/resource-agent">
-      &lt;!-- <xsl:value-of select="@name"/> --&gt;
-      &lt;group&gt;
+      &lt;group rha:fence_agent="<xsl:value-of select="@name"/>"&gt;
         &lt;optional&gt;
           &lt;attribute name="option"/&gt; &lt;!-- deprecated; for compatibility.  use "action" --&gt;
         &lt;/optional&gt;<xsl:for-each select="parameters/parameter">


More information about the cluster-commits mailing list