Dan Prince ac1f51ce88 Renames cinder::base to cinder.
This makes things consistent with other puppet openstack modules
(Nova in particular).

For backwards compat we still have a cinder::base module which
uses init.pp but prints out a warning message.

Change-Id: Ie101ae192b7ff08825809aff975f6cc6e655e6b3
2013-04-10 18:18:32 -04:00

35 lines
1.2 KiB
Puppet

#
# parameters that may need to be added
# $state_path = /opt/stack/data/cinder
# $osapi_volume_extension = cinder.api.openstack.volume.contrib.standard_extensions
# $root_helper = sudo /usr/local/bin/cinder-rootwrap /etc/cinder/rootwrap.conf
class cinder::base (
$rabbit_password,
$sql_connection,
$rabbit_host = '127.0.0.1',
$rabbit_port = 5672,
$rabbit_hosts = undef,
$rabbit_virtual_host = '/',
$rabbit_userid = 'nova',
$package_ensure = 'present',
$api_paste_config = '/etc/cinder/api-paste.ini',
$verbose = 'False'
) {
warning('The "cinder::base" class is deprecated. Use "cinder" instead.')
class { "cinder":
rabbit_password => $rabbit_password,
sql_connection => $sql_connection,
rabbit_host => $rabbit_host,
rabbit_port => $rabbit_port,
rabbit_hosts => $rabbit_hosts,
rabbit_virtual_host => $rabbit_virtual_host,
rabbit_userid => $rabbit_userid,
package_ensure => $package_ensure,
api_paste_config => $api_paste_config,
verbose => $verbose,
}
}