Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F49506748
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
828 B
Referenced Files
None
Subscribers
None
T1261-srv-data.sls
View Options
# -------------------------------------------------------------
# Salt — Hotfixes to mitigate bugs and security issues
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# 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, Sep 14, 16:03 (6 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3957457
Default Alt Text
T1261-srv-data.sls (828 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment