diff --git a/spec/classes/sahara_db_postgresql_spec.rb b/spec/classes/sahara_db_postgresql_spec.rb index 892461af..a7b6d407 100644 --- a/spec/classes/sahara_db_postgresql_spec.rb +++ b/spec/classes/sahara_db_postgresql_spec.rb @@ -39,7 +39,10 @@ describe 'sahara::db::postgresql' do })) end - it_configures 'sahara::db::postgresql' + # TODO(tkajinam): Remove this once puppet-postgresql supports CentOS 9 + unless facts[:osfamily] == 'RedHat' and facts[:operatingsystemmajrelease].to_i >= 9 + it_configures 'sahara::db::postgresql' + end end end