
This commit updates the default value for enable for nova components to default to true, instead of false. Without this change the nova service is not enabled by default resulting in a different behavior than with other puppet openstack modules. Associated tests are updated to expect the change in defaults. Co-Authored-By: Cody Herriges <cody@puppetlabs.com> Change-Id: I49fc84f9fedfe00d7846441e1b49334abb09e0eb Closes-bug: #1220473
36 lines
785 B
Puppet
36 lines
785 B
Puppet
# == Class: nova::cert
|
|
#
|
|
# Installs nova cert package and service
|
|
#
|
|
# === Parameters:
|
|
#
|
|
# [*enabled*]
|
|
# (optional) Whether or not to enable the nova cert service
|
|
# Defaults to true
|
|
#
|
|
# [*manage_service*]
|
|
# (optional) Whether to start/stop the service
|
|
# Defaults to true
|
|
#
|
|
# [*ensure_package*]
|
|
# (optional) The state to set for the nova-cert package
|
|
# Defaults to 'present'
|
|
#
|
|
class nova::cert(
|
|
$enabled = true,
|
|
$manage_service = true,
|
|
$ensure_package = 'present'
|
|
) {
|
|
|
|
include ::nova::params
|
|
|
|
nova::generic_service { 'cert':
|
|
enabled => $enabled,
|
|
manage_service => $manage_service,
|
|
package_name => $::nova::params::cert_package_name,
|
|
service_name => $::nova::params::cert_service_name,
|
|
ensure_package => $ensure_package,
|
|
}
|
|
|
|
}
|