CentOS 9: Disable unit tests dependent on puppet-postgresql
The puppt-postgresql module does not support CentOS 9 yet and requires some version parameters to be run on CentOS 9. This change disables unit tests requiring that module, until the module supports CentOS 9. Change-Id: I2b0e83103f80919bac543bcb1c8afcc3dcabebdc
This commit is contained in:
parent
7a94da4afc
commit
84315c2352
@ -33,7 +33,10 @@ describe 'placement::db::postgresql' do
|
||||
facts.merge!(OSDefaults.get_facts( :concat_basedir => '/var/lib/puppet/concat' ))
|
||||
end
|
||||
|
||||
it_behaves_like 'placement::db::postgresql'
|
||||
# TODO(tkajinam): Remove this once puppet-postgresql supports CentOS 9
|
||||
unless facts[:osfamily] == 'RedHat' and facts[:operatingsystemmajrelease].to_i >= 9
|
||||
it_behaves_like 'placement::db::postgresql'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user