Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3749594
D3476.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D3476.id.diff
View Options
diff --git a/pillar/devserver/datacubes.sls b/pillar/devserver/datacubes.sls
--- a/pillar/devserver/datacubes.sls
+++ b/pillar/devserver/datacubes.sls
@@ -43,6 +43,15 @@
zfs_user_from_pillar: "nextcloud:user"
zfs_auto_snapshot: True
+# -------------------------------------------------------------
+# Symbolic links needed by development work
+# <path to the link to create>: <target file>
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+devserver_symlinks:
+ # Renamed 2024-09-39, keep old filename for transition
+ /datacube/doc: /datacube/documentation
+
# -------------------------------------------------------------
# Other directories needed by development work
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/roles/devserver/datacube/init.sls b/roles/devserver/datacube/init.sls
--- a/roles/devserver/datacube/init.sls
+++ b/roles/devserver/datacube/init.sls
@@ -84,6 +84,16 @@
{% endfor %}
{% endif %}
+# -------------------------------------------------------------
+# Symbolic links
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+{% for link_path, link_points_to in pillar.get("devserver_symlinks", {}).items() %}
+{{ link_path }}:
+ file.symlink:
+ - target: {{ link_points_to }}
+{% endfor %}
+
# -------------------------------------------------------------
# Misc directories
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 16:25 (2 m, 54 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248459
Default Alt Text
D3476.id.diff (1 KB)
Attached To
Mode
D3476: Create symbolic links on devserver role
Attached
Detach File
Event Timeline
Log In to Comment