
The current default db username for keystone is keystone_admin. This is inconsistent with the default db username for every other service which use the same name as the name of the service. The documented installation instruction for keystone also use keystone as the database user. This commit updates the default to use keystone instead of keyston_admin. Change-Id: I1cfaf3fbbc691ff9dbef415b69492f9f965dc113
27 lines
447 B
Ruby
27 lines
447 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'keystone::db::postgresql' do
|
|
|
|
let :req_params do
|
|
{:password => 'pw'}
|
|
end
|
|
|
|
let :facts do
|
|
{
|
|
:postgres_default_version => '8.4',
|
|
:osfamily => 'RedHat',
|
|
}
|
|
end
|
|
|
|
describe 'with only required params' do
|
|
let :params do
|
|
req_params
|
|
end
|
|
it { should contain_postgresql__db('keystone').with(
|
|
:user => 'keystone',
|
|
:password => 'pw'
|
|
) }
|
|
end
|
|
|
|
end
|