Page MenuHomeClusterLabs Projects

No OneTemporary

diff --git a/fence/agents/lib/fence2rng.xsl b/fence/agents/lib/fence2rng.xsl
index e0c82bc0..8d23ed94 100644
--- a/fence/agents/lib/fence2rng.xsl
+++ b/fence/agents/lib/fence2rng.xsl
@@ -1,23 +1,20 @@
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" indent="yes"/>
<xsl:template name="capitalize">
<xsl:param name="value"/>
<xsl:variable name="normalized" select="translate($value, '_abcdefghijklmnopqrstuvwrxyz', '-ABCDEFGHIJKLMNOPQRSTUVWRXYZ')"/>
<xsl:value-of select="$normalized"/>
</xsl:template>
<xsl:template match="/resource-agent">
&lt;!-- <xsl:value-of select="@name"/> --&gt;
&lt;group&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">
- <xsl:choose><xsl:when test="@required = 1 or @primary = 1">
- &lt;attribute name="<xsl:value-of select="@name"/>" rha:description="<xsl:value-of select="normalize-space(shortdesc)"/>" /&gt;</xsl:when><xsl:otherwise>
&lt;optional&gt;
&lt;attribute name="<xsl:value-of select="@name"/>" rha:description="<xsl:value-of select="normalize-space(shortdesc)"/>" /&gt;
- &lt;/optional&gt;</xsl:otherwise>
- </xsl:choose></xsl:for-each>
+ &lt;/optional&gt;</xsl:for-each>
&lt;/group&gt;
</xsl:template>
</xsl:stylesheet>

File Metadata

Mime Type
text/x-diff
Expires
Mon, Apr 21, 11:30 AM (18 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1664823
Default Alt Text
(1 KB)

Event Timeline