From 4f5d06396cd2a332d273edb05e5b3f4ab2ff8fb4 Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Fri, 25 May 2012 18:26:36 -0700 Subject: [PATCH] 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. --- manifests/all.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manifests/all.pp b/manifests/all.pp index a3e670d..dd70b02 100644 --- a/manifests/all.pp +++ b/manifests/all.pp @@ -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', }