Merge "Support array value for console_ssl_ciphers"
This commit is contained in:
@@ -564,7 +564,7 @@ but should be one of: ssh-rsa, ssh-dsa, ssh-ecdsa.")
|
||||
'DEFAULT/ssl_only': value => $ssl_only;
|
||||
'DEFAULT/cert': value => $cert;
|
||||
'DEFAULT/key': value => $key;
|
||||
'console/ssl_ciphers': value => $console_ssl_ciphers;
|
||||
'console/ssl_ciphers': value => join(any2array($console_ssl_ciphers), ':');
|
||||
'console/ssl_minimum_version': value => $console_ssl_minimum_version;
|
||||
'DEFAULT/my_ip': value => $my_ip;
|
||||
'DEFAULT/host': value => $host;
|
||||
|
@@ -470,6 +470,14 @@ describe 'nova' do
|
||||
it { is_expected.to contain_nova_config('DEFAULT/initial_disk_allocation_ratio').with_value(3.0) }
|
||||
end
|
||||
|
||||
context 'with array used for console_ssl_ciphers' do
|
||||
let :params do
|
||||
{
|
||||
:console_ssl_ciphers => ['kEECDH+aECDSA+AES', 'kEECDH+AES+aRSA', 'kEDH+aRSA+AES']
|
||||
}
|
||||
end
|
||||
it {is_expected.to contain_nova_config('console/ssl_ciphers').with_value('kEECDH+aECDSA+AES:kEECDH+AES+aRSA:kEDH+aRSA+AES') }
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user