Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3770042
T1261-srv-data.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
859 B
Referenced Files
None
Subscribers
None
T1261-srv-data.sls
View Options
# -------------------------------------------------------------
# Salt — Hotfixes to mitigate bugs and security issues
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2017-10-17
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
# -------------------------------------------------------------
# T1261
# We now provision /srv/data instead of /data for Docker
# containers data. As such, we ensure a symlink exists
# on servers still using /data.
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{%
if
not
salt
[
'file.directory_exists'
](
'/srv/data'
)
and
salt
[
'file.directory_exists'
](
'/data'
)
%}
srv_data_symlink
:
file.symlink
:
-
name
:
/srv/data
-
target
:
/data
{%
endif
%}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 18:52 (7 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260756
Default Alt Text
T1261-srv-data.sls (859 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment