Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3768644
D3059.id7807.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
D3059.id7807.diff
View Options
diff --git a/roles/devserver/datacube/init.sls b/roles/devserver/datacube/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/devserver/datacube/init.sls
@@ -0,0 +1,31 @@
+# -------b------------------------------------------------------
+# 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") %}
+
+{{ tank }}/datacube:
+ zfs.filesystem_present:
+ - properties:
+ mountpoint: /datacube
+ compression: zstd-7
+
+{% endif %}
diff --git a/roles/devserver/init.sls b/roles/devserver/init.sls
--- a/roles/devserver/init.sls
+++ b/roles/devserver/init.sls
@@ -7,6 +7,7 @@
# -------------------------------------------------------------
include:
+ - .datacube
- .dns
- .mail
- .pkg
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 09:24 (14 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259926
Default Alt Text
D3059.id7807.diff (1 KB)
Attached To
Mode
D3059: Create ZFS filesystem for /datacube on devserver
Attached
Detach File
Event Timeline
Log In to Comment