Files
puppet-openstack/manifests/cinder.pp
Logan McNaughton f3cb8e4671 Fix references to nova-volume
Also fixes an incorrect reference to iscsi_ip_address

Change-Id: Ib4a5ffece050f1e83573802bcd465d3b5a91b197
2013-05-13 19:06:51 -06:00

28 lines
683 B
Puppet

class openstack::cinder(
$sql_connection,
$rabbit_password,
$rabbit_host = '127.0.0.1',
$volume_group = 'cinder-volumes',
$enabled = true
) {
warning('The "openstack::cinder" class is deprecated. Use "openstack::cinder::controller and openstack::cinder::volume" instead.')
class { 'cinder::base':
rabbit_password => $rabbit_password,
rabbit_host => $rabbit_host,
sql_connection => $sql_connection,
verbose => $verbose,
}
# Install / configure nova-volume
class { 'cinder::volume':
enabled => $enabled,
}
if $enabled {
class { 'cinder::volume::iscsi':
volume_group => $volume_group,
}
}
}