diff --git a/spec/classes/openstack_extras_auth_file_spec.rb b/spec/classes/openstack_extras_auth_file_spec.rb index 31652c1..57ab2b4 100644 --- a/spec/classes/openstack_extras_auth_file_spec.rb +++ b/spec/classes/openstack_extras_auth_file_spec.rb @@ -24,7 +24,7 @@ describe 'openstack_extras::auth_file' do 'export KEYSTONE_ENDPOINT_TYPE=\'publicURL\'', 'export NOVA_ENDPOINT_TYPE=\'publicURL\'', 'export NEUTRON_ENDPOINT_TYPE=\'publicURL\'', - 'export IDENTITY_API_VERSION=\'3\'', + 'export OS_IDENTITY_API_VERSION=\'3\'', ]) end end @@ -73,7 +73,7 @@ describe 'openstack_extras::auth_file' do 'export KEYSTONE_ENDPOINT_TYPE=\'internalURL\'', 'export NOVA_ENDPOINT_TYPE=\'internalURL\'', 'export NEUTRON_ENDPOINT_TYPE=\'internalURL\'', - 'export IDENTITY_API_VERSION=\'3.1\'', + 'export OS_IDENTITY_API_VERSION=\'3.1\'', ]) end end diff --git a/templates/openrc.erb b/templates/openrc.erb index 727b891..e8fc5e5 100644 --- a/templates/openrc.erb +++ b/templates/openrc.erb @@ -26,4 +26,4 @@ export GLANCE_ENDPOINT_TYPE='<%= @glance_endpoint_type %>' export KEYSTONE_ENDPOINT_TYPE='<%= @keystone_endpoint_type %>' export NOVA_ENDPOINT_TYPE='<%= @nova_endpoint_type %>' export NEUTRON_ENDPOINT_TYPE='<%= @neutron_endpoint_type %>' -export IDENTITY_API_VERSION='<%= @identity_api_version %>' +export OS_IDENTITY_API_VERSION='<%= @identity_api_version %>'