52ff823ee7
This patch fixes the parameter documentation in init, and conductor to conform with the style guide and support autogenerating parameter documentation. Change-Id: I737e8d0716a21795575558e65a135fd488c814c0
30 lines
651 B
Puppet
30 lines
651 B
Puppet
# == Class: nova::conductor
|
|
#
|
|
# Manages nova conductor package and service
|
|
#
|
|
# === Parameters:
|
|
#
|
|
# [*enabled*]
|
|
# (optional) Whether to enable the nova-conductor service
|
|
# Defaults to false
|
|
#
|
|
# [*ensure_package*]
|
|
# (optional) The state of the nova conductor package
|
|
# Defaults to 'present'
|
|
#
|
|
class nova::conductor(
|
|
$enabled = false,
|
|
$ensure_package = 'present'
|
|
) {
|
|
|
|
include nova::params
|
|
|
|
nova::generic_service { 'conductor':
|
|
enabled => $enabled,
|
|
package_name => $::nova::params::conductor_package_name,
|
|
service_name => $::nova::params::conductor_service_name,
|
|
ensure_package => $ensure_package,
|
|
}
|
|
|
|
}
|