Merge "Use correct password for keystone bootstrap"
This commit is contained in:
commit
24707c3211
|
@ -51,6 +51,7 @@ class fuel::keystone (
|
|||
# be updated and 'keystone-manage bootstrap' command will be available
|
||||
enable_bootstrap => false,
|
||||
admin_token => $admin_token,
|
||||
admin_password => $admin_password,
|
||||
catalog_type => 'sql',
|
||||
database_connection => "${db_engine}://${db_user}:${db_password}@${db_host}:${db_port}/${db_name}",
|
||||
token_expiration => $token_expiration,
|
||||
|
|
|
@ -302,6 +302,7 @@ class openstack_tasks::keystone::keystone {
|
|||
debug => $debug,
|
||||
catalog_type => 'sql',
|
||||
admin_token => $admin_token,
|
||||
admin_password => $admin_password,
|
||||
enabled => false,
|
||||
database_connection => $db_connection,
|
||||
database_max_retries => $max_retries,
|
||||
|
|
|
@ -30,7 +30,8 @@ describe manifest do
|
|||
configuration_override.fetch('keystone_config', {})
|
||||
end
|
||||
|
||||
admin_token = Noop.hiera_structure 'keystone/admin_token'
|
||||
let(:admin_token) { Noop.hiera_structure 'keystone/admin_token' }
|
||||
let(:admin_password) { Noop.hiera_structure 'access/password' }
|
||||
public_vip = Noop.hiera('public_vip')
|
||||
management_vip= Noop.hiera('management_vip')
|
||||
public_ssl_hash = Noop.hiera_hash('public_ssl')
|
||||
|
@ -116,9 +117,10 @@ describe manifest do
|
|||
)
|
||||
end
|
||||
|
||||
it 'should declare keystone class with admin_token' do
|
||||
it 'should declare keystone class with admin_token and admin_password' do
|
||||
should contain_class('keystone').with(
|
||||
'admin_token' => admin_token
|
||||
'admin_token' => admin_token,
|
||||
'admin_password' => admin_password
|
||||
)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue