diff --git a/spec/classes/barbican_db_postgresql_spec.rb b/spec/classes/barbican_db_postgresql_spec.rb index 0d7bd354..2cdc542d 100644 --- a/spec/classes/barbican_db_postgresql_spec.rb +++ b/spec/classes/barbican_db_postgresql_spec.rb @@ -59,7 +59,10 @@ describe 'barbican::db::postgresql' do })) end - it_configures 'barbican::db::postgresql' + # TODO(tkajinam): Remove this once puppet-postgresql supports CentOS 9 + unless facts[:osfamily] == 'RedHat' and facts[:operatingsystemmajrelease].to_i >= 9 + it_configures 'barbican::db::postgresql' + end end end