diff options
author | Fabian Affolter <fabian@bernewireless.net> | 2010-06-02 13:38:26 +0000 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2010-06-02 08:43:02 -0500 |
commit | a049a44e65d6c41a5487778a19d49155dcf692af (patch) | |
tree | f18b5debb9ab73fec3055065dfad5f54c5fd17ff /examples/TGenshi | |
parent | 8e0e4f990ad7669e6613be24c556091e65ab4b7d (diff) | |
download | bcfg2-a049a44e65d6c41a5487778a19d49155dcf692af.tar.gz bcfg2-a049a44e65d6c41a5487778a19d49155dcf692af.tar.bz2 bcfg2-a049a44e65d6c41a5487778a19d49155dcf692af.zip |
Added example for TGenshi (Exported from the wiki)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5875 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'examples/TGenshi')
-rw-r--r-- | examples/TGenshi/etc/motd/template.newtxt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/examples/TGenshi/etc/motd/template.newtxt b/examples/TGenshi/etc/motd/template.newtxt new file mode 100644 index 000000000..22c725b25 --- /dev/null +++ b/examples/TGenshi/etc/motd/template.newtxt @@ -0,0 +1,31 @@ +------------------------------------------------------------------------
+ GOALS FOR SERVER MANGED BY BCFG2
+------------------------------------------------------------------------
+Hostname is ${metadata.hostname}
+
+Groups:
+{% for group in metadata.groups %}\
+ * ${group}
+{% end %}\
+
+{% if metadata.categories %}\
+Categories:
+{% for category in metadata.categories %}\
+ * ${category}
+{% end %}\
+{% end %}\
+
+
+{% if metadata.Probes %}\
+Probes:
+{% for probe, value in metadata.Probes.iteritems() %}\
+ * ${probe} \
+ ${value}
+{% end %}\
+{% end %}\
+
+------------------------------------------------------------------------
+ ITOPS MOTD
+------------------------------------------------------------------------
+Please create a Ticket for any system level changes you need from IT.
+
|