guestagent: Deprecate the backup_aes_cbc_key parameter
... because it was deprecated since Victoria cycle[1]. [1] bd2b256a377a5648586ec4a5d51edd58dd88a620 Change-Id: I4c068890a6d60434ee419167428a6fd0507ba919
This commit is contained in:
parent
2b4efd122f
commit
977c0dc0e5
@ -72,16 +72,16 @@
|
|||||||
# (optional) Default password Length for root password.
|
# (optional) Default password Length for root password.
|
||||||
# Defaults to $::os_service_default.
|
# Defaults to $::os_service_default.
|
||||||
#
|
#
|
||||||
# [*backup_aes_cbc_key*]
|
|
||||||
# (optional) Default OpenSSL aes_cbc key
|
|
||||||
# Defaults to $::os_service_default.
|
|
||||||
#
|
|
||||||
# DEPRECATED PARAMETERS
|
# DEPRECATED PARAMETERS
|
||||||
#
|
#
|
||||||
# [*control_exchange*]
|
# [*control_exchange*]
|
||||||
# (Optional) Moved to init.pp. The default exchange to scope topics.
|
# (Optional) Moved to init.pp. The default exchange to scope topics.
|
||||||
# Defaults to undef.
|
# Defaults to undef.
|
||||||
#
|
#
|
||||||
|
# [*backup_aes_cbc_key*]
|
||||||
|
# (optional) Default OpenSSL aes_cbc key
|
||||||
|
# Defaults to undef
|
||||||
|
#
|
||||||
class trove::guestagent(
|
class trove::guestagent(
|
||||||
$enabled = true,
|
$enabled = true,
|
||||||
$manage_service = true,
|
$manage_service = true,
|
||||||
@ -98,9 +98,9 @@ class trove::guestagent(
|
|||||||
$root_grant = $::os_service_default,
|
$root_grant = $::os_service_default,
|
||||||
$root_grant_option = $::os_service_default,
|
$root_grant_option = $::os_service_default,
|
||||||
$default_password_length = $::os_service_default,
|
$default_password_length = $::os_service_default,
|
||||||
$backup_aes_cbc_key = $::os_service_default,
|
|
||||||
#Deprecated
|
#Deprecated
|
||||||
$control_exchange = undef,
|
$control_exchange = undef,
|
||||||
|
$backup_aes_cbc_key = undef,
|
||||||
) inherits trove {
|
) inherits trove {
|
||||||
|
|
||||||
include trove::deps
|
include trove::deps
|
||||||
@ -112,6 +112,10 @@ class trove::guestagent(
|
|||||||
trove::control_exchange instead.")
|
trove::control_exchange instead.")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if $backup_aes_cbc_key != undef {
|
||||||
|
warning('The parameter backup_aes_cbc_key is deprecated for removal')
|
||||||
|
}
|
||||||
|
|
||||||
# basic service config
|
# basic service config
|
||||||
trove_guestagent_config {
|
trove_guestagent_config {
|
||||||
'DEFAULT/swift_url': value => $swift_url;
|
'DEFAULT/swift_url': value => $swift_url;
|
||||||
@ -119,7 +123,7 @@ trove::control_exchange instead.")
|
|||||||
'DEFAULT/root_grant': value => $root_grant;
|
'DEFAULT/root_grant': value => $root_grant;
|
||||||
'DEFAULT/root_grant_option': value => $root_grant_option;
|
'DEFAULT/root_grant_option': value => $root_grant_option;
|
||||||
'DEFAULT/default_password_length': value => $default_password_length;
|
'DEFAULT/default_password_length': value => $default_password_length;
|
||||||
'DEFAULT/backup_aes_cbc_key': value => $backup_aes_cbc_key;
|
'DEFAULT/backup_aes_cbc_key': value => pick($backup_aes_cbc_key, $::os_service_default);
|
||||||
}
|
}
|
||||||
|
|
||||||
oslo::messaging::default { 'trove_guestagent_config':
|
oslo::messaging::default { 'trove_guestagent_config':
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- |
|
||||||
|
The ``trove::guestagent::backup_aes_cbc_key`` parameter has been deprecated
|
||||||
|
because the actual parameter in Trove was already deprecated.
|
Loading…
Reference in New Issue
Block a user