Difference between revisions of "Template:Services/cheatsheet/doc"

From CCGB
Jump to: navigation, search
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
This template, along with two others,
 +
are used for the table on [[BXadmin:Services#Cheat Sheet]].
 +
 
* [[Template:Services/cheatsheet/header]]
 
* [[Template:Services/cheatsheet/header]]
 
* [[Template:Services/cheatsheet/entry]]
 
* [[Template:Services/cheatsheet/entry]]
 
* [[Template:Services/cheatsheet/doc]]
 
* [[Template:Services/cheatsheet/doc]]
 +
 +
= Example =
 +
 +
This markup:
 +
<pre>
 +
{{Services/cheatsheet/header|
 +
 +
{{Services/cheatsheet/entry
 +
| hostname = kaylee
 +
| power    = {{Power/PDU-23}}
 +
| hardware = IBM x3550 7978AC1 (amd64)
 +
| os      = Scientific Linux 6.2 (6.1 kernel)
 +
| services = [[bxadmin:rancid|rancid]], [[bxadmin:cacti|cacti]], [[bxadmin:ganglia|ganglia]], [[bxadmin:arpwatch|arpwatch]], [[bxadmin:conserver|conserver]], [[bxadmin:Cfengine|cfmaster]], syslog-ng
 +
| comments = has network interfaces ''on every VLAN'' for arpwatch
 +
}}
 +
 +
}}
 +
</pre>
 +
 +
produces this table:
 +
 +
{{Services/cheatsheet/header|
 +
 +
{{Services/cheatsheet/entry
 +
| hostname = kaylee
 +
| power    = {{Power/PDU-23}}
 +
| hardware = IBM x3550 7978AC1 (amd64)
 +
| os      = Scientific Linux 6.2 (6.1 kernel)
 +
| services = [[bxadmin:rancid|rancid]], [[bxadmin:cacti|cacti]], [[bxadmin:ganglia|ganglia]], [[bxadmin:arpwatch|arpwatch]], [[bxadmin:conserver|conserver]], [[bxadmin:Cfengine|cfmaster]], syslog-ng
 +
| comments = has network interfaces ''on every VLAN'' for arpwatch
 +
}}
 +
 +
}}

Latest revision as of 14:56, 7 September 2012

This template, along with two others, are used for the table on BXadmin:Services#Cheat Sheet.

Example

This markup:

{{Services/cheatsheet/header|

{{Services/cheatsheet/entry
| hostname = kaylee
| power    = {{Power/PDU-23}}
| hardware = IBM x3550 7978AC1 (amd64)
| os       = Scientific Linux 6.2 (6.1 kernel)
| services = [[bxadmin:rancid|rancid]], [[bxadmin:cacti|cacti]], [[bxadmin:ganglia|ganglia]], [[bxadmin:arpwatch|arpwatch]], [[bxadmin:conserver|conserver]], [[bxadmin:Cfengine|cfmaster]], syslog-ng
| comments = has network interfaces ''on every VLAN'' for arpwatch
}}

}}

produces this table:

Hostname Power Hardware OS Services Comments
kaylee PDU-23 / UPS-14

(Not on backup power)

IBM x3550 7978AC1 (amd64) Scientific Linux 6.2 (6.1 kernel) rancid, cacti, ganglia, arpwatch, conserver, cfmaster, syslog-ng has network interfaces on every VLAN for arpwatch