Skip to content

Commit 9508900

Browse files
authored
Merge pull request #1387 from SimonHoenscheid/shoenscheid_fix_main_spec_tests_remove_debian_9_corpses
remove debian 8 and 9 corpses
2 parents 3ee94b6 + ab45d1b commit 9508900

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

manifests/globals.pp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,6 @@
194194
},
195195
'Debian' => $facts['os']['name'] ? {
196196
'Debian' => $facts['os']['release']['major'] ? {
197-
'8' => '9.4',
198-
'9' => '9.6',
199197
'10' => '11',
200198
'11' => '13',
201199
default => undef,

spec/defines/server/default_privileges_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@
112112
it { is_expected.to compile.and_raise_error(%r{Illegal value for \$privilege parameter}) }
113113
end
114114

115-
context 'schemas on postgres < 10.0' do
116-
include_examples 'Debian 9'
115+
context 'schemas on postgres < 9.6' do
116+
include_examples 'RedHat 7'
117117

118118
let :params do
119119
{
@@ -129,7 +129,7 @@
129129
"class {'postgresql::server':}"
130130
end
131131

132-
it { is_expected.to compile.and_raise_error(%r{Default_privileges on schemas is only supported on PostgreSQL >= 10.0}m) }
132+
it { is_expected.to compile.and_raise_error(%r{Default_privileges is only useable with PostgreSQL >= 9.6}m) }
133133
end
134134

135135
context 'schemas on postgres >= 10.0' do

spec/spec_helper_local.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,6 @@ def param(type, title, param)
122122
end
123123
end
124124

125-
shared_context 'Debian 9' do
126-
let(:facts) { on_supported_os['debian-9-x86_64'] }
127-
end
128-
129125
shared_context 'Debian 10' do
130126
let(:facts) { on_supported_os['debian-10-x86_64'] }
131127
end

0 commit comments

Comments
 (0)