Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F3686532
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
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">
<!-- <xsl:value-of select="@name"/> -->
<group>
<optional>
<attribute name="option"/> <!-- deprecated; for compatibility. use "action" -->
</optional><xsl:for-each select="parameters/parameter">
- <xsl:choose><xsl:when test="@required = 1 or @primary = 1">
- <attribute name="<xsl:value-of select="@name"/>" rha:description="<xsl:value-of select="normalize-space(shortdesc)"/>" /></xsl:when><xsl:otherwise>
<optional>
<attribute name="<xsl:value-of select="@name"/>" rha:description="<xsl:value-of select="normalize-space(shortdesc)"/>" />
- </optional></xsl:otherwise>
- </xsl:choose></xsl:for-each>
+ </optional></xsl:for-each>
</group>
</xsl:template>
</xsl:stylesheet>
File Metadata
Details
Attached
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)
Attached To
Mode
rF Fence Agents
Attached
Detach File
Event Timeline
Log In to Comment