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: Ie81e6aa04e532b1375e4720dad37741c8142dd21
This commit is contained in:
parent
60486d2995
commit
1b59ffdf7c
|
@ -38,7 +38,10 @@ describe 'magnum::db::postgresql' do
|
|||
}))
|
||||
end
|
||||
|
||||
it_configures 'magnum::db::postgresql'
|
||||
# TODO(tkajinam): Remove this once puppet-postgresql supports CentOS 9
|
||||
unless facts[:osfamily] == 'RedHat' and facts[:operatingsystemmajrelease].to_i >= 9
|
||||
it_configures 'magnum::db::postgresql'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue