Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3768480
D3476.id8964.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.id8964.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
@@ -83,6 +83,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 24, 08:12 (9 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2258500
Default Alt Text
D3476.id8964.diff (1 KB)
Attached To
Mode
D3476: Create symbolic links on devserver role
Attached
Detach File
Event Timeline
Log In to Comment