616c4763c7
Previously, there was a lot of copy/paste code for handling the various nova services. This commit creates the define nova::generic_service which is used to capture common code for configuring nova services. It also updates the following classes to use that code: - nova::api - nova::cert - nova::compute - nova::objectstore - nova::network - nova::sceduler - nova::volume It also updates spec tests for all of these classes
12 lines
259 B
Puppet
12 lines
259 B
Puppet
class nova::scheduler(
|
|
$enabled = false
|
|
) inherits nova {
|
|
|
|
nova::generic_service { 'scheduler':
|
|
enabled => $enabled,
|
|
package_name => $::nova::params::scheduler_package_name,
|
|
service_name => $::nova::params::scheduler_service_name,
|
|
}
|
|
|
|
}
|