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: Ia565bc26a9919efe61f938eb6436df30f13ea3e5
This commit is contained in:
Takashi Kajinami 2022-02-16 00:13:38 +09:00
parent e79fb183e5
commit 589205c8a5
1 changed files with 4 additions and 1 deletions

View File

@ -39,7 +39,10 @@ describe 'neutron::db::postgresql' do
}))
end
it_behaves_like 'neutron::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 'neutron::db::postgresql'
end
end
end
end