
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
40 lines
956 B
Puppet
40 lines
956 B
Puppet
# == Class: nova::consoleauth
|
|
#
|
|
# Installs and configures consoleauth service
|
|
#
|
|
# The consoleauth service is required for vncproxy auth
|
|
# for Horizon
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*enabled*]
|
|
# (optional) Whether the nova consoleauth service will be run
|
|
# Defaults to true
|
|
#
|
|
# [*manage_service*]
|
|
# (optional) Whether to start/stop the service
|
|
# Defaults to true
|
|
#
|
|
# [*ensure_package*]
|
|
# (optional) Whether the nova consoleauth package will be installed
|
|
# Defaults to 'present'
|
|
#
|
|
class nova::consoleauth(
|
|
$enabled = true,
|
|
$manage_service = true,
|
|
$ensure_package = 'present'
|
|
) {
|
|
|
|
include ::nova::params
|
|
|
|
nova::generic_service { 'consoleauth':
|
|
enabled => $enabled,
|
|
manage_service => $manage_service,
|
|
package_name => $::nova::params::consoleauth_package_name,
|
|
service_name => $::nova::params::consoleauth_service_name,
|
|
ensure_package => $ensure_package,
|
|
require => Package['nova-common'],
|
|
}
|
|
|
|
}
|