puppet-nova/manifests/compute/serial.pp
ZhongShengping 8267730a90 Remove listen option
The previously deprecated config option ``listen```of the group
``serial_console`` has been removed, as it was never used in the code.

Change-Id: If2acdf6d40a7bfa3b1c33c9956c30f9a3a3e9e8e
2016-11-02 10:52:53 +08:00

35 lines
934 B
Puppet

# == Class: nova::compute::serial
#
# Configures nova serial console
#
# === Parameters:
#
# [*port_range*]
# (optional) Range of TCP ports to use for serial ports on compute hosts
# Defaults to 10000:20000
#
# [*base_url*]
# (optional) URL that gets passed to the clients
# Defaults to 'ws://127.0.0.1:6083/'
#
# [*proxyclient_address*]
# The address to which proxy clients (like nova-serialproxy)
# should connect (string value)
# Defaults to 127.0.0.1
#
class nova::compute::serial(
$port_range = '10000:20000',
$base_url = 'ws://127.0.0.1:6083/',
$proxyclient_address = '127.0.0.1',
) {
include ::nova::deps
nova_config {
'serial_console/enabled': value => true;
'serial_console/port_range': value => $port_range;
'serial_console/base_url': value => $base_url;
'serial_console/proxyclient_address': value => $proxyclient_address;
}
}