Fix unit tests with Debian 12
Debian 12 has PostgreSQL 15, and uses scram-sha-256 by default. So
we need a fix similar to the one[1] made for Ubuntu earlier.
[1] 6adbd49b9f
Change-Id: I6e6e88951caa3aea0b7a1e13238e22ae4cb1c3dd
This commit is contained in:
parent
4552c7d2de
commit
44a54f4f41
@ -107,12 +107,7 @@ describe 'openstacklib::db::postgresql' do
|
||||
let :platform_params do
|
||||
case facts[:os]['family']
|
||||
when 'Debian'
|
||||
case facts[:os]['name']
|
||||
when 'Debian'
|
||||
{ :password_encryption => 'md5' }
|
||||
when 'Ubuntu'
|
||||
{ :password_encryption => 'scram-sha-256' }
|
||||
end
|
||||
{ :password_encryption => 'scram-sha-256' }
|
||||
when 'RedHat'
|
||||
{ :password_encryption => 'ms5' }
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user