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: I3c85c7e0976ff353090cc2b7737112cf119b6f38
This commit is contained in:
@@ -36,7 +36,10 @@ describe 'glance::db::postgresql' do
|
|||||||
facts.merge!(OSDefaults.get_facts({ :concat_basedir => '/var/lib/puppet/concat' }))
|
facts.merge!(OSDefaults.get_facts({ :concat_basedir => '/var/lib/puppet/concat' }))
|
||||||
end
|
end
|
||||||
|
|
||||||
it_configures 'glance::db::postgresql'
|
# TODO(tkajinam): Remove this once puppet-postgresql supports CentOS 9
|
||||||
|
unless facts[:osfamily] == 'RedHat' and facts[:operatingsystemmajrelease].to_i >= 9
|
||||||
|
it_configures 'glance::db::postgresql'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user