
Fix new lint errors detected when full of the voxpupili lint plugins are enabled. Change-Id: I3c5704fa87db1cca7f0edd9396eacac6e70438f9 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
26 lines
700 B
Puppet
26 lines
700 B
Puppet
# == Class: nova::consoleauth
|
|
#
|
|
# Configure the consoleauth options
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*token_ttl*]
|
|
# (Optional) The lifetime of a console auth token (in seconds).
|
|
# Defaults to $facts['os_service_default'].
|
|
#
|
|
# [*enforce_session_timeout*]
|
|
# (Optional) Enable ot disable enforce session timeout for VM console.
|
|
# Defaults to $facts['os_service_default'].
|
|
#
|
|
class nova::consoleauth (
|
|
$token_ttl = $facts['os_service_default'],
|
|
$enforce_session_timeout = $facts['os_service_default'],
|
|
) {
|
|
include nova::deps
|
|
|
|
nova_config {
|
|
'consoleauth/token_ttl': value => $token_ttl;
|
|
'consoleauth/enforce_session_timeout': value => $enforce_session_timeout;
|
|
}
|
|
}
|