
The underlying ironic auth paramters for nova.conf have been changed. nova::ironic::common::admin_username, nova::ironic::common::admin_password, nova::ironic::common::admin_url, nova::ironic::common::admin_tenant_name have been deprecated in favor of nova::ironic::common::username, nova::ironic::common::password, nova::ironic::common::auth_url, nova::ironic::common::project_name. Also the deprecated options from nova::compute::ironic have been removed. Please use the options available via nova::ironic::common. Change-Id: I163d99c407ef9e0725fec492be6440de67839650 Co-Authored-By: Xing Zhou <xing.zhou@easystack.cn>
28 lines
689 B
Puppet
28 lines
689 B
Puppet
# == Class: nova::compute::ironic
|
|
#
|
|
# Configures Nova compute service to use Ironic.
|
|
#
|
|
# === Parameters:
|
|
#
|
|
# [*compute_driver*]
|
|
# (optional) Compute driver.
|
|
# Defaults to 'ironic.IronicDriver'
|
|
#
|
|
# [*max_concurrent_builds*]
|
|
# (optional) Maximum number of instance builds to run concurrently
|
|
# Defaults to $::os_service_default.
|
|
#
|
|
class nova::compute::ironic (
|
|
$max_concurrent_builds = $::os_service_default,
|
|
$compute_driver = 'ironic.IronicDriver'
|
|
) {
|
|
|
|
include ::nova::deps
|
|
require ::nova::ironic::common
|
|
|
|
nova_config {
|
|
'DEFAULT/compute_driver': value => $compute_driver;
|
|
'DEFAULT/max_concurrent_builds': value => $max_concurrent_builds;
|
|
}
|
|
}
|