Allow nova volume vg name to be overridden in openstack::all

Adds a class parameter that can be used to override the name of
the volume group used by nova-volumes.
This commit is contained in:
Dan Bode
2012-05-25 18:26:36 -07:00
parent 5eab169ec1
commit 4f5d06396c

View File

@@ -28,7 +28,8 @@ class openstack::all(
# config
$verbose = false,
$purge_nova_config = true,
$libvirt_type = 'kvm'
$libvirt_type = 'kvm',
$nova_volume = 'nova-volumes'
) {
@@ -194,6 +195,7 @@ class openstack::all(
}
class { 'nova::volume::iscsi':
volume_group => $nova_volume,
iscsi_ip_address => '127.0.0.1',
}