components/ruby/puppet-modules/openstack-cinder/files/volume/zfs_iscsi.pp
author Drew Fisher <drew.fisher@oracle.com>
Tue, 16 Feb 2016 13:47:43 -0800
changeset 5464 6e2e17e6aa45
permissions -rw-r--r--
PSARC/2016/001 OpenStack Puppet Modules 22491714 Request to integrate OpenStack Puppet modules

# == Class: cinder::volume::zfs_iscsi
#
# Sets up Cinder with the ZFS iSCSI driver
#
# === Parameters
#
# [*zfs_volume_base*]
#   (optional) The ZFS path under which to create zvols for volumes.
#   Defaults to 'rpool/cinder'
#
class cinder::volume::zfs_iscsi (
  $zfs_volume_base = 'rpool/cinder',
) {

  cinder::backend::zfs_iscsi { 'DEFAULT':
    zfs_volume_base => $zfs_volume_base,
  }
}