Page MenuHomeDevCentral

D3061.diff
No OneTemporary

D3061.diff

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
@@ -21,11 +21,20 @@
{% 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

Mime Type
text/plain
Expires
Wed, Nov 6, 06:39 (21 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2231294
Default Alt Text
D3061.diff (682 B)

Event Timeline