components/ruby/puppet-modules/openstack-cinder/files/volume/zfs_volume.pp
branchs11u3-sru
changeset 6035 c9748fcc32de
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ruby/puppet-modules/openstack-cinder/files/volume/zfs_volume.pp	Fri May 20 17:42:29 2016 -0400
@@ -0,0 +1,18 @@
+# == Class: cinder::volume::zfs_volume
+#
+# Sets up Cinder with the ZFS Volume Driver
+#
+# === Parameters
+#
+# [*zfs_volume_base*]
+#   (optional) The ZFS path under which to create zvols for volumes.
+#   Defaults to 'rpool/cinder'
+#
+class cinder::volume::zfs_volume (
+  $zfs_volume_base = 'rpool/cinder',
+) {
+
+  cinder::backend::zfs_volume { 'DEFAULT':
+    zfs_volume_base => $zfs_volume_base,
+  }
+}