
Also fixes an incorrect reference to iscsi_ip_address Change-Id: Ib4a5ffece050f1e83573802bcd465d3b5a91b197
28 lines
683 B
Puppet
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,
|
|
}
|
|
}
|
|
}
|