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: Idd96ef1789268841cefa5e773b490e0470d7b9a0
This commit is contained in:
parent
78feb5af2c
commit
20fec07491
@ -37,8 +37,11 @@ describe 'nova::db::postgresql_api' do
|
||||
}))
|
||||
end
|
||||
|
||||
# TODO(tkajinam): Remove this once puppet-postgresql supports CentOS 9
|
||||
unless facts[:osfamily] == 'RedHat' and facts[:operatingsystemmajrelease].to_i >= 9
|
||||
it_configures 'nova::db::postgresql'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
@ -55,8 +55,11 @@ describe 'nova::db::postgresql' do
|
||||
}))
|
||||
end
|
||||
|
||||
# TODO(tkajinam): Remove this once puppet-postgresql supports CentOS 9
|
||||
unless facts[:osfamily] == 'RedHat' and facts[:operatingsystemmajrelease].to_i >= 9
|
||||
it_configures 'nova::db::postgresql'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user