Page MenuHomeDevCentral

T1261-srv-data.sls
No OneTemporary

T1261-srv-data.sls

# -------------------------------------------------------------
# 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

Mime Type
text/plain
Expires
Mon, Sep 14, 16:03 (3 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3957457
Default Alt Text
T1261-srv-data.sls (828 B)

Event Timeline