Fix region name configuration
The configuration name is os_region_name, not os_auth_region. Change-Id: I0849c18c35b39335edda0cbc64c7fb4c5b145d44 Closes-bug: #1291030
This commit is contained in:
parent
a3b1417a61
commit
18f6a9d164
@ -47,7 +47,7 @@ class ceilometer::agent::auth (
|
||||
|
||||
ceilometer_config {
|
||||
'service_credentials/os_auth_url' : value => $auth_url;
|
||||
'service_credentials/os_auth_region' : value => $auth_region;
|
||||
'service_credentials/os_region_name' : value => $auth_region;
|
||||
'service_credentials/os_username' : value => $auth_user;
|
||||
'service_credentials/os_password' : value => $auth_password;
|
||||
'service_credentials/os_tenant_name' : value => $auth_tenant_name;
|
||||
|
@ -20,7 +20,7 @@ describe 'ceilometer::agent::auth' do
|
||||
|
||||
it 'configures authentication' do
|
||||
should contain_ceilometer_config('service_credentials/os_auth_url').with_value('http://localhost:5000/v2.0')
|
||||
should contain_ceilometer_config('service_credentials/os_auth_region').with_value('RegionOne')
|
||||
should contain_ceilometer_config('service_credentials/os_region_name').with_value('RegionOne')
|
||||
should contain_ceilometer_config('service_credentials/os_username').with_value('ceilometer')
|
||||
should contain_ceilometer_config('service_credentials/os_password').with_value('password')
|
||||
should contain_ceilometer_config('service_credentials/os_tenant_name').with_value('services')
|
||||
|
Loading…
Reference in New Issue
Block a user