diff --git a/spec/classes/cinder_db_postgresql_spec.rb b/spec/classes/cinder_db_postgresql_spec.rb index acfa31db..ec715b61 100644 --- a/spec/classes/cinder_db_postgresql_spec.rb +++ b/spec/classes/cinder_db_postgresql_spec.rb @@ -38,7 +38,10 @@ describe 'cinder::db::postgresql' do })) end - it_behaves_like 'cinder::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 'cinder::db::postgresql' + end end end