Page MenuHomeDevCentral

T1261-srv-data.sls
No OneTemporary

T1261-srv-data.sls

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

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)

Event Timeline