Add backup_aes_cbc_key parameter
This patch will provide an option for configuring custom value to the backup_aes-cbc_key parameter in guestagent configuration file. Closes-Bug: #1659875 Change-Id: I51a8176c7df4ee80fcf999c37143842f2fdc69ad
This commit is contained in:
parent
82cc12da2f
commit
ca075e0a9c
@ -64,6 +64,10 @@
|
||||
# guests need to talk to the rabbit cluster via
|
||||
# a different ssl connection option.
|
||||
#
|
||||
# [*backup_aes_cbc_key*]
|
||||
# (optional) Default OpenSSL aes_cbc key
|
||||
# Defaults to $::os_service_default.
|
||||
#
|
||||
# DEPRECATED PARAMETERS
|
||||
#
|
||||
# [*root_grant*]
|
||||
@ -120,6 +124,7 @@ class trove::guestagent(
|
||||
$root_grant = $::os_service_default,
|
||||
$root_grant_option = $::os_service_default,
|
||||
$default_password_length = $::os_service_default,
|
||||
$backup_aes_cbc_key = $::os_service_default,
|
||||
#Deprecated
|
||||
$control_exchange = undef,
|
||||
$rabbit_hosts = $::trove::rabbit_hosts,
|
||||
@ -146,6 +151,7 @@ trove::guestagent::default_transport_url instead.")
|
||||
'DEFAULT/root_grant': value => $root_grant;
|
||||
'DEFAULT/root_grant_option': value => $root_grant_option;
|
||||
'DEFAULT/default_password_length': value => $default_password_length;
|
||||
'DEFAULT/backup_aes_cbc_key': value => $backup_aes_cbc_key;
|
||||
}
|
||||
|
||||
oslo::messaging::default { 'trove_guestagent_config':
|
||||
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
features:
|
||||
- Add the ability to configure aes_cbc key for backup in trove-guestagent.conf
|
@ -52,6 +52,7 @@ describe 'trove::guestagent' do
|
||||
is_expected.to contain_trove_guestagent_config('DEFAULT/root_grant').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_trove_guestagent_config('DEFAULT/root_grant_option').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_trove_guestagent_config('DEFAULT/default_password_length').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_trove_guestagent_config('DEFAULT/backup_aes_cbc_key').with_value('<SERVICE DEFAULT>')
|
||||
end
|
||||
|
||||
context 'when using a single RabbitMQ server' do
|
||||
|
Loading…
Reference in New Issue
Block a user