summaryrefslogtreecommitdiffstats
path: root/reports/xsl-transforms
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-10-02 04:12:31 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-10-02 04:12:31 +0000
commit389ce7150d9d370f9c4af49f2e0aa0d316ad81f1 (patch)
tree72ead41681f304a4d217db2f3fdcb581b1dc09ee /reports/xsl-transforms
parent59afb75a46e36c9b0efcee7d341299150b44c433 (diff)
downloadbcfg2-389ce7150d9d370f9c4af49f2e0aa0d316ad81f1.tar.gz
bcfg2-389ce7150d9d370f9c4af49f2e0aa0d316ad81f1.tar.bz2
bcfg2-389ce7150d9d370f9c4af49f2e0aa0d316ad81f1.zip
add support for extra config information
(Logical change 1.331) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1357 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'reports/xsl-transforms')
-rw-r--r--reports/xsl-transforms/xsl-transform-includes/text-templates.xsl26
1 files changed, 25 insertions, 1 deletions
diff --git a/reports/xsl-transforms/xsl-transform-includes/text-templates.xsl b/reports/xsl-transforms/xsl-transform-includes/text-templates.xsl
index b72124d3b..9f0314e1f 100644
--- a/reports/xsl-transforms/xsl-transform-includes/text-templates.xsl
+++ b/reports/xsl-transforms/xsl-transform-includes/text-templates.xsl
@@ -16,6 +16,7 @@
<xsl:apply-templates select="Good" />
<xsl:apply-templates select="Bad" />
<xsl:apply-templates select="Modified" />
+ <xsl:apply-templates select="Extra" />
</xsl:template>
<xsl:template match="Good">
<xsl:text> </xsl:text>Node is clean; Everything has been satisfactorily configured.
@@ -43,7 +44,30 @@
</xsl:template>
<xsl:template match="Modified">
-<xsl:text> </xsl:text><xsl:value-of select="count(./*)" /> items were modified in the last run.
+<xsl:text>
+
+ </xsl:text><xsl:value-of select="count(./*)" /> items were modified in the last run.
+ <xsl:apply-templates select="ConfigFile">
+ <xsl:sort select="@name"/>
+ </xsl:apply-templates>
+ <xsl:apply-templates select="Directory">
+ <xsl:sort select="@name"/>
+ </xsl:apply-templates>
+ <xsl:apply-templates select="Package">
+ <xsl:sort select="@name"/>
+ </xsl:apply-templates>
+ <xsl:apply-templates select="Service">
+ <xsl:sort select="@name"/>
+ </xsl:apply-templates>
+ <xsl:apply-templates select="SymLink">
+ <xsl:sort select="@name"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="Extra">
+<xsl:text>
+
+ </xsl:text><xsl:value-of select="count(./*)" /> extra configuration elements on node.
<xsl:apply-templates select="ConfigFile">
<xsl:sort select="@name"/>
</xsl:apply-templates>