Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3765738
D3445.id8883.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
798 B
Referenced Files
None
Subscribers
None
D3445.id8883.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
@@ -9,6 +9,8 @@
# Datacubes
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+datacube_zfs_pool: greenway
+
datacubes:
bak: &default {}
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
@@ -19,7 +19,11 @@
{% if salt['node.has']('zfs:pool') %}
-{% set tank = salt['node.get']("zfs:pool") %}
+{% if "datacube_zfs_pool" in pillar %}
+{% set tank = pillar["datacube_zfs_pool"] %}
+{% else %}
+{% set tank = salt["node.get"]("zfs:pool") %}
+{% endif %}
{{ tank }}/datacube:
zfs.filesystem_present:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 14:00 (14 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2258030
Default Alt Text
D3445.id8883.diff (798 B)
Attached To
Mode
D3445: Allow to store datacubes on any ZFS pool
Attached
Detach File
Event Timeline
Log In to Comment