From ecf1033c9e6aed711d37f37078edb394c4be0d9f Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Thu, 25 Oct 2012 16:09:30 -0700 Subject: [PATCH] update cinder def in compute It was out of date with the latest version of the modules. --- manifests/compute.pp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/manifests/compute.pp b/manifests/compute.pp index caddbcc..082db9f 100644 --- a/manifests/compute.pp +++ b/manifests/compute.pp @@ -145,14 +145,19 @@ class openstack::compute ( } if ($cinder) { - class { 'cinder': + class { 'cinder::base': rabbit_password => $rabbit_password, rabbit_host => $rabbit_host, sql_connection => $cinder_sql_connection, verbose => $verbose, } class { 'cinder::volume': } - class { 'cinder::volume::iscsi': } + class { 'cinder::volume::iscsi': + iscsi_ip_address => $internal_address, + volume_group => $nova_volume, + } + + nova_config { 'volume_api_class': value => 'nova.volume.cinder.API' } } else { # Set up nova-volume }