diff --git a/spec/classes/zaqar_db_postgresql_spec.rb b/spec/classes/zaqar_db_postgresql_spec.rb index b57d4ef..8bc5ec6 100644 --- a/spec/classes/zaqar_db_postgresql_spec.rb +++ b/spec/classes/zaqar_db_postgresql_spec.rb @@ -37,7 +37,10 @@ describe 'zaqar::db::postgresql' do facts.merge!(OSDefaults.get_facts({ :concat_basedir => '/var/lib/puppet/concat' })) end - it_configures 'zaqar::db::postgresql' + # TODO(tkajinam): Remove this once puppet-postgresql supports CentOS 9 + unless facts[:osfamily] == 'RedHat' and facts[:operatingsystemmajrelease].to_i >= 9 + it_configures 'zaqar::db::postgresql' + end end end