Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F54771039
D405.id987.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D405.id987.diff
View Options
diff --git a/roles/shellserver/motd/files/eglide b/roles/core/motd/files/eglide
rename from roles/shellserver/motd/files/eglide
rename to roles/core/motd/files/eglide
diff --git a/roles/shellserver/motd/init.sls b/roles/core/motd/init.sls
rename from roles/shellserver/motd/init.sls
rename to roles/core/motd/init.sls
--- a/roles/shellserver/motd/init.sls
+++ b/roles/core/motd/init.sls
@@ -1,19 +1,19 @@
# -------------------------------------------------------------
# Salt — MOTD
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-# Project: Eglide
+# Project: Nasqueron
# 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' %}
+ {% if grains['os'] == 'Debian' or grains['os'] == 'Ubuntu' %}
- name: /etc/motd.tail
+ {% else %}
+ - name: /etc/motd
{% endif %}
- - source: salt://roles/shellserver/motd/files/{{ grains['id'] }}
+ - source: salt://roles/core/motd/files/{{ grains['id'] }}
# Fixes T858
get_rid_of_scaleway_motd:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 24, 13:04 (18 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4214566
Default Alt Text
D405.id987.diff (1 KB)
Attached To
Mode
D405: Core: generalize MOTD
Attached
Detach File
Event Timeline
Log In to Comment