Page MenuHomeDevCentral

D364.id868.diff
No OneTemporary

D364.id868.diff

diff --git a/roles/shellserver/motd/files/eglide b/roles/shellserver/motd/files/eglide
new file mode 100644
--- /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
--- /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/plain
Expires
Mon, Sep 30, 09:27 (22 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2165869
Default Alt Text
D364.id868.diff (1 KB)

Event Timeline