Page MenuHomeDevCentral

D3061.id7811.diff
No OneTemporary

D3061.id7811.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 27, 12:33 (21 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2266730
Default Alt Text
D3061.id7811.diff (682 B)

Event Timeline