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:
Mathieu Gagné 2014-03-11 15:58:37 -04:00
parent a3b1417a61
commit 18f6a9d164
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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')