puppet-nova/manifests/consoleauth.pp
Clayton O'Neill cb77bc295f Add hooks for external install & svc management
This adds defined anchor points for external modules to hook into the
software install, config and service dependency chain.  This allows
external modules to manage software installation (virtualenv,
containers, etc) and service management (pacemaker) without needing rely
on resources that may change or be renamed.

Change-Id: I0b524e354b095f2642fd38a2f88536d15bcdf855
2015-12-08 10:14:11 -05:00

40 lines
933 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::deps
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,
}
}