Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3768377
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
View Options
diff --git a/roles/devserver/datacube/init.sls b/roles/devserver/datacube/init.sls
index 3c4d6ec..86a6450 100644
--- a/roles/devserver/datacube/init.sls
+++ b/roles/devserver/datacube/init.sls
@@ -1,31 +1,40 @@
# -------------------------------------------------------------
# Salt — Provision dev software
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
# -------------------------------------------------------------
# Directory
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/datacube:
file.directory:
- mode: 711
# -------------------------------------------------------------
# ZFS
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{% if salt['node.has']('zfs:pool') %}
{% set tank = salt['node.get']("zfs:pool") %}
+{% set subdirs = ["bak", "git", "t"] %}
{{ tank }}/datacube:
zfs.filesystem_present:
- properties:
mountpoint: /datacube
- compression: zstd-7
+ compression: zstd
+
+{% for subdir in subdirs %}
+{{ tank }}/datacube/{{ subdir }}:
+ zfs.filesystem_present:
+ - properties:
+ mountpoint: /datacube/{{ subdir }}
+ compression: zstd
+{% endfor %}
{% endif %}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Nov 25, 07:42 (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259755
Default Alt Text
(1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment