orchestration: configure keystone_ec2_uri

Configure keystone_ec2_uri in heat.conf with the same parameter as
auth_uri.

Close #666
This commit is contained in:
Emilien Macchi 2014-10-08 12:02:28 -04:00
parent 0b70f2ae7c
commit 8a398186d4
3 changed files with 3 additions and 0 deletions

View File

@ -136,6 +136,7 @@ class cloud::orchestration(
keystone_protocol => $ks_keystone_admin_proto,
keystone_password => $ks_heat_password,
auth_uri => "${ks_keystone_internal_proto}://${ks_keystone_internal_host}:${ks_keystone_internal_port}/v2.0",
keystone_ec2_uri => "${ks_keystone_internal_proto}://${ks_keystone_internal_host}:${ks_keystone_internal_port}/v2.0/ec2tokens",
sql_connection => "mysql://${encoded_user}:${encoded_password}@${heat_db_host}/heat?charset=utf8",
mysql_module => '2.2',
rabbit_hosts => $rabbit_hosts,

View File

@ -65,6 +65,7 @@ describe 'cloud::orchestration::api' do
:keystone_protocol => 'http',
:keystone_password => 'secrete',
:auth_uri => 'http://10.0.0.1:5000/v2.0',
:keystone_ec2_uri => 'http://10.0.0.1:5000/v2.0/ec2tokens',
:sql_connection => 'mysql://heat:secrete@10.0.0.1/heat?charset=utf8',
:log_dir => false
)

View File

@ -69,6 +69,7 @@ describe 'cloud::orchestration::engine' do
:keystone_protocol => 'http',
:keystone_password => 'secrete',
:auth_uri => 'http://10.0.0.1:5000/v2.0',
:keystone_ec2_uri => 'http://10.0.0.1:5000/v2.0/ec2tokens',
:sql_connection => 'mysql://heat:secrete@10.0.0.1/heat?charset=utf8',
:log_dir => false
)