Merge "Do not assert implementation in puppet-postgresql"

This commit is contained in:
Zuul
2023年07月28日 15:02:19 +00:00
committed by Gerrit Code Review

View File

@@ -100,9 +100,8 @@ describe 'oslo::db' do
{ :connection => 'postgresql://db:db@localhost/db', }
end
it 'install the proper backend package' do
is_expected.to contain_package('python-psycopg2').with(:ensure => 'present')
end
it { is_expected.to contain_keystone_config('database/connection').with_value('postgresql://db:db@localhost/db').with_secret(true) }
it { is_expected.to contain_class('postgresql::lib::python') }
context 'with backend package management disabled' do
before do
@@ -112,7 +111,7 @@ describe 'oslo::db' do
end
it 'does not install backend package' do
is_expected.not_to contain_package('python-psycopg2')
is_expected.not_to contain_class('postgresql::lib::python')
end
end
end
@@ -123,6 +122,7 @@ describe 'oslo::db' do
end
it { is_expected.to contain_keystone_config('database/connection').with_value('postgresql+psycopg2://db:db@localhost/db').with_secret(true) }
it { is_expected.to contain_class('postgresql::lib::python') }
end
context 'with incorrect database_connection string' do
Reference in New Issue
openstack/puppet-oslo
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.