We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2140b72 commit 6d7ca60Copy full SHA for 6d7ca60
1 file changed
spec/unit/classes/server/contrib_spec.rb
@@ -43,4 +43,37 @@
43
is_expected.to contain_package('postgresql-contrib').with(tag: 'puppetlabs-postgresql')
44
end
45
46
+
47
+ describe 'on Gentoo' do
48
+ let :facts do
49
+ {
50
+ os: {
51
+ family: 'Gentoo',
52
+ name: 'Gentoo',
53
+ },
54
+ }
55
+ end
56
57
+ it 'postgresql-contrib should not be installed' do
58
+ is_expected.to compile
59
+ is_expected.not_to contain_package('postgresql-contrib')
60
61
62
63
+ describe 'on Debian' do
64
65
66
67
+ family: 'Debian',
68
+ name: 'Debian',
69
+ release: { 'full' => '8.0', 'major' => '8' },
70
71
72
73
74
75
76
77
78
79
0 commit comments