diff options
-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.
+
|