Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3916752
D364.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D364.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 01:56 (17 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2308730
Default Alt Text
D364.diff (1 KB)
Attached To
Mode
D364: [Eglide] MOTD
Attached
Detach File
Event Timeline
Log In to Comment