5462N/A# == Class: cinder::backend::zfs_fc
5462N/A#
5462N/A# Configures Cinder volume ZFSFCDriver
5462N/A#
5462N/A# === Parameters
5462N/A#
5462N/A# [*volume_driver*]
5462N/A# (optional) Setup cinder-volume to use Solaris FC volume driver.
5462N/A# Defaults to 'cinder.volume.drivers.solaris.zfs.ZFSFCDriver'
5462N/A#
5462N/A# [*zfs_volume_base*]
5462N/A# (optional) The ZFS path under which to create zvols for volumes.
5462N/A# Defaults to 'rpool/cinder'
5462N/A#
5462N/Adefine cinder::backend::zfs_fc(
5462N/A $volume_driver = 'cinder.volume.drivers.solaris.zfs.ZFSFCDriver',
5462N/A $zfs_volume_base = 'rpool/cinder'
5462N/A) {
5462N/A
5462N/A cinder_config {
5462N/A "${name}/volume_driver": value => $volume_driver;
5462N/A "${name}/zfs_volume_base": value => $zfs_volume_base;
5462N/A "${name}/san_is_local": value => true;
5462N/A "${name}/san_ip": value => $::ipaddress;
5462N/A }
5462N/A}