Files
puppet-openstack/manifests/cinder.pp
Dan Bode 0ee00d7113 Add cinder support
remove volume management from openstack::compute
add cinder server services to openstack::controller
add cinder db code
2012-10-16 11:24:36 -07:00

26 lines
547 B
Puppet

class openstack::cinder(
$sql_connection,
$rabbit_password,
$rabbit_host = '127.0.0.1',
$volume_group = 'nova-volumes',
$enabled = true
) {
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,
}
}
}