Merge pull request #719 from enovance/key-url
identity: don't specify API version in {public,admin}_endpoint
This commit is contained in:
commit
9900af85fa
@ -8,7 +8,7 @@ fixtures:
|
||||
ref: 'c9271e02d0d5a317ab390cfce9928601208f6073'
|
||||
'keystone':
|
||||
repo: 'git://github.com/enovance/puppet-keystone.git'
|
||||
ref: 'e381349c1b838301dd730aa3cd146ecacc75aa7c'
|
||||
ref: '45ac386600c0e79942834da8b69bf09a4809d7bd'
|
||||
'nova':
|
||||
repo: 'git://github.com/enovance/puppet-nova.git'
|
||||
ref: '3ffc5a263113232230b69e621e1b6167f2148390'
|
||||
|
@ -37,7 +37,7 @@ mod 'horizon',
|
||||
:ref => '16b482ea21a70d8dd06ab4c98ac5a218399b0213'
|
||||
mod 'keystone',
|
||||
:git => 'git://github.com/enovance/puppet-keystone.git',
|
||||
:ref => 'e381349c1b838301dd730aa3cd146ecacc75aa7c'
|
||||
:ref => '45ac386600c0e79942834da8b69bf09a4809d7bd'
|
||||
mod 'neutron',
|
||||
:git => 'git://github.com/enovance/puppet-neutron.git',
|
||||
:ref => 'cefbdc897d70fd1c1fc44e372f05336674efd940'
|
||||
|
@ -490,8 +490,8 @@ class cloud::identity (
|
||||
admin_port => $ks_keystone_admin_port,
|
||||
token_driver => $token_driver,
|
||||
token_expiration => $ks_token_expiration,
|
||||
admin_endpoint => "${ks_keystone_admin_proto}://${ks_keystone_admin_host}:${ks_keystone_admin_port}/v2.0",
|
||||
public_endpoint => "${ks_keystone_public_proto}://${ks_keystone_public_host}:${ks_keystone_public_port}/v2.0"
|
||||
admin_endpoint => "${ks_keystone_admin_proto}://${ks_keystone_admin_host}:${ks_keystone_admin_port}/",
|
||||
public_endpoint => "${ks_keystone_public_proto}://${ks_keystone_public_host}:${ks_keystone_public_port}/"
|
||||
}
|
||||
|
||||
keystone_config {
|
||||
|
@ -135,8 +135,8 @@ describe 'cloud::identity' do
|
||||
:token_expiration => '3600',
|
||||
:log_dir => false,
|
||||
:log_file => false,
|
||||
:admin_endpoint => 'https://10.0.0.1:35357/v2.0',
|
||||
:public_endpoint => 'https://10.0.0.1:5000/v2.0'
|
||||
:admin_endpoint => 'https://10.0.0.1:35357/',
|
||||
:public_endpoint => 'https://10.0.0.1:5000/'
|
||||
)
|
||||
is_expected.to contain_keystone_config('ec2/driver').with('value' => 'keystone.contrib.ec2.backends.sql.Ec2')
|
||||
is_expected.to contain_keystone_config('DEFAULT/log_file').with_ensure('absent')
|
||||
|
Loading…
x
Reference in New Issue
Block a user