Remove keymap option

The keymap parameter has been deprecated for one year. We can remove it.

Change-Id: Ic41e8d38795ea7eb899c268dd0f6af5c3a70e8a9
This commit is contained in:
ZhongShengping 2020-01-04 14:53:59 +08:00
parent d20fe58388
commit ec1dd390e6
2 changed files with 3 additions and 12 deletions

View File

@ -33,12 +33,6 @@
# (optional) Path of the spice html file for the html5 console proxy
# Defaults to '/spice_auto.html'
#
# DEPRECATED PARAMETERS
#
# [*keymap*]
# (optional) keymap for spice
# Defaults to undef
#
class nova::compute::spice(
$agent_enabled = true,
$server_listen = undef,
@ -47,16 +41,10 @@ class nova::compute::spice(
$proxy_protocol = 'http',
$proxy_port = '6082',
$proxy_path = '/spice_auto.html',
# DEPRECATED PARAMETERS
$keymap = undef,
) {
include nova::deps
if $keymap {
warning('keymap parameter is deprecated, has no effect and will be removed in the future.')
}
if $proxy_host {
$html5proxy_base_url = "${proxy_protocol}://${proxy_host}:${proxy_port}${proxy_path}"
nova_config {

View File

@ -0,0 +1,3 @@
---
upgrade:
- Deprecated keymap option has been removed.