Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F28986462
init.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
664 B
Referenced Files
None
Subscribers
None
init.sls
View Options
# -------------------------------------------------------------
# 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'
]
}}
# Fixes T858
get_rid_of_scaleway_motd
:
file.absent
:
-
name
:
/etc/update-motd.d/50-scw
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, May 17, 19:15 (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3700695
Default Alt Text
init.sls (664 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment