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: I3b361b6a800c69d176bce8cb388e851919d1bea7
This commit is contained in:
parent
190b72e1fa
commit
a3599fc3bf
|
@ -37,7 +37,10 @@ describe 'murano::db::postgresql_cfapi' do
|
|||
}))
|
||||
end
|
||||
|
||||
it_configures 'murano::db::postgresql_cfapi'
|
||||
# TODO(tkajinam): Remove this once puppet-postgresql supports CentOS 9
|
||||
unless facts[:osfamily] == 'RedHat' and facts[:operatingsystemmajrelease].to_i >= 9
|
||||
it_configures 'murano::db::postgresql_cfapi'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -39,7 +39,10 @@ describe 'murano::db::postgresql' do
|
|||
}))
|
||||
end
|
||||
|
||||
it_configures 'murano::db::postgresql'
|
||||
# TODO(tkajinam): Remove this once puppet-postgresql supports CentOS 9
|
||||
unless facts[:osfamily] == 'RedHat' and facts[:operatingsystemmajrelease].to_i >= 9
|
||||
it_configures 'murano::db::postgresql'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue