Skip to content

Commit 2a25c90

Browse files
authored
Merge pull request #2593 from ekohl/require-mod_http2
Install mod_http2 on EL if required
2 parents fb5f80d + 3305686 commit 2a25c90

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

manifests/params.pp

+1
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@
202202
'authnz_pam' => 'mod_authnz_pam',
203203
'fcgid' => 'mod_fcgid',
204204
'geoip' => 'mod_geoip',
205+
'http2' => 'mod_http2',
205206
'intercept_form_submit' => 'mod_intercept_form_submit',
206207
'ldap' => 'mod_ldap',
207208
'lookup_identity' => 'mod_lookup_identity',

spec/classes/mod/http2_spec.rb

+7
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,11 @@
8585
it { is_expected.to contain_file('http2.conf').with(content: expected_content) }
8686
end
8787
end
88+
89+
context 'on Red Hat 8' do
90+
include_examples 'RedHat 8' do
91+
it { is_expected.to contain_class('apache::mod::http2') }
92+
it { is_expected.to contain_package('mod_http2') }
93+
end
94+
end
8895
end

0 commit comments

Comments
 (0)