From a909a58985d10878ae32a7fb24b66565b0fc7f1a Mon Sep 17 00:00:00 2001 From: Simon Hoenscheid Date: Wed, 18 Oct 2023 14:58:29 +0200 Subject: [PATCH] add test to cover basic server configuration --- spec/acceptance/postgres_server_spec.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 spec/acceptance/postgres_server_spec.rb diff --git a/spec/acceptance/postgres_server_spec.rb b/spec/acceptance/postgres_server_spec.rb new file mode 100644 index 0000000000..07ee9d2d4e --- /dev/null +++ b/spec/acceptance/postgres_server_spec.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +require 'spec_helper_acceptance' + +# These Tests are written to cover https://github.com/puppetlabs/puppetlabs-postgresql/issues/1533 +# we expected this to be covered by the pipeline. +describe 'postgresql::server with postgresql.org repo, version and encoding/locale' do + pp = <<-MANIFEST + class { 'postgresql::globals': + encoding => 'UTF-8', + locale => 'en_US.UTF-8', + manage_package_repo => true, + version => '14', + } + include postgresql::server + MANIFEST + apply_manifest(pp, expect_failures: false) +end