Renamed tenant_name to project_name

As of Liberty, tenant_name was deprecated in favor of project_name.

Change-Id: Ia1a56db9bf3d665f11f8282d83f90ca3863f5c3a
Depends-On: I347abf1c004ea78f85024114407c8820e40c3ee7
Partial-Bug: #1512480
This commit is contained in:
Samuel Cassiba 2015-11-02 13:39:58 -08:00
parent 4b0d41b64f
commit 74706f51be
2 changed files with 6 additions and 6 deletions

View File

@ -40,7 +40,7 @@ region = node['openstack']['database']['region']
openstack_identity_register 'Register Service Tenant' do
auth_uri auth_uri
bootstrap_token bootstrap_token
tenant_name service_tenant_name
project_name service_tenant_name
tenant_description 'Service Tenant'
action :create_tenant
@ -50,7 +50,7 @@ end
openstack_identity_register 'Register Service User' do
auth_uri auth_uri
bootstrap_token bootstrap_token
tenant_name service_tenant_name
project_name service_tenant_name
user_name service_user
user_pass service_pass
@ -61,7 +61,7 @@ end
openstack_identity_register "Grant '#{service_role}' Role to Service User for Service Tenant" do
auth_uri auth_uri
bootstrap_token bootstrap_token
tenant_name service_tenant_name
project_name service_tenant_name
user_name service_user
role_name service_role

View File

@ -16,7 +16,7 @@ describe 'openstack-database::identity_registration' do
).with(
auth_uri: 'http://127.0.0.1:35357/v2.0',
bootstrap_token: 'bootstrap-token',
tenant_name: 'service',
project_name: 'service',
tenant_description: 'Service Tenant'
)
end
@ -27,7 +27,7 @@ describe 'openstack-database::identity_registration' do
).with(
auth_uri: 'http://127.0.0.1:35357/v2.0',
bootstrap_token: 'bootstrap-token',
tenant_name: 'service',
project_name: 'service',
user_name: 'trove',
user_pass: 'service-pass'
)
@ -39,7 +39,7 @@ describe 'openstack-database::identity_registration' do
).with(
auth_uri: 'http://127.0.0.1:35357/v2.0',
bootstrap_token: 'bootstrap-token',
tenant_name: 'service',
project_name: 'service',
user_name: 'trove',
role_name: 'service'
)