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: If2a75b639e923e96617afd161bdcff8431d877d5
This commit is contained in:
parent
872f9ab0d6
commit
f016d7261c
|
@ -40,7 +40,10 @@ describe 'gnocchi::db::postgresql' do
|
|||
}))
|
||||
end
|
||||
|
||||
it_configures 'gnocchi::db::postgresql'
|
||||
# TODO(tkajinam): Remove this once puppet-postgresql supports CentOS 9
|
||||
unless facts[:osfamily] == 'RedHat' and facts[:operatingsystemmajrelease].to_i >= 9
|
||||
it_configures 'gnocchi::db::postgresql'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -115,7 +115,10 @@ describe 'gnocchi::db' do
|
|||
end
|
||||
end
|
||||
|
||||
it_behaves_like 'gnocchi::db'
|
||||
# TODO(tkajinam): Remove this once puppet-postgresql supports CentOS 9
|
||||
unless facts[:osfamily] == 'RedHat' and facts[:operatingsystemmajrelease].to_i >= 9
|
||||
it_behaves_like 'gnocchi::db'
|
||||
end
|
||||
it_behaves_like "gnocchi::db on #{facts[:osfamily]}"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue