diff --git a/spec/classes/heat_db_postgresql_spec.rb b/spec/classes/heat_db_postgresql_spec.rb index 6ecb258b..5ed36e77 100644 --- a/spec/classes/heat_db_postgresql_spec.rb +++ b/spec/classes/heat_db_postgresql_spec.rb @@ -40,7 +40,10 @@ describe 'heat::db::postgresql' do })) end - it_behaves_like 'heat::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 'heat::db::postgresql' + end end end