Page MenuHomeDevCentral

No OneTemporary

diff --git a/roles/shellserver/motd/files/eglide b/roles/shellserver/motd/files/eglide
new file mode 100644
index 0000000..266fb00
--- /dev/null
+++ b/roles/shellserver/motd/files/eglide
@@ -0,0 +1,16 @@
+_______________________________________________________________________
+ _____ _ _ _
+| ___| | (_) | | 'A protracted conference, with Cheudoras,
+| |__ __ _| |_ __| | ___ Saraisme the younger, Akeurle Both-twins,
+| __|/ _` | | |/ _` |/ _ \ traav Kanchangesja and a couple of minors
+| |__| (_| | | | (_| | __/ from the Eglide adolescent pod.'
+\____/\__, |_|_|\__,_|\___| -- Iain Banks, the Algebraist
+ __/ |
+ |___/
+
+ Public shell server, with IRC & web facilities.
+
+ Users support ...... Wolfplex Hackerspace
+ Operations & ICT ... Nasqueron
+
+_______________________________________________________________________
diff --git a/roles/shellserver/motd/init.sls b/roles/shellserver/motd/init.sls
new file mode 100644
index 0000000..3d667a8
--- /dev/null
+++ b/roles/shellserver/motd/init.sls
@@ -0,0 +1,16 @@
+# -------------------------------------------------------------
+# Salt — MOTD
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Eglide
+# Created: 2016-04-10
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+motd:
+ file.managed:
+ {% if grains['os'] == 'FreeBSD' %}
+ - name: /etc/motd
+ {% elif grains['os'] == 'Debian' %}
+ - name: /etc/motd.tail
+ {% endif %}
+ - source: salt://roles/shellserver/motd/files/{{ grains['id'] }}

File Metadata

Mime Type
text/x-diff
Expires
Fri, Sep 19, 00:16 (22 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2991949
Default Alt Text
(1 KB)

Event Timeline