Skip to content

Commit

Permalink
add test to cover basic server configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonHoenscheid committed Oct 18, 2023
1 parent 05bc715 commit a909a58
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions spec/acceptance/postgres_server_spec.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a909a58

Please sign in to comment.