diff --git a/manifests/params.pp b/manifests/params.pp index be3fd6b24..60318ef6a 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -202,6 +202,7 @@ 'authnz_pam' => 'mod_authnz_pam', 'fcgid' => 'mod_fcgid', 'geoip' => 'mod_geoip', + 'http2' => 'mod_http2', 'intercept_form_submit' => 'mod_intercept_form_submit', 'ldap' => 'mod_ldap', 'lookup_identity' => 'mod_lookup_identity', diff --git a/spec/classes/mod/http2_spec.rb b/spec/classes/mod/http2_spec.rb index 3046914d0..54130e36c 100644 --- a/spec/classes/mod/http2_spec.rb +++ b/spec/classes/mod/http2_spec.rb @@ -85,4 +85,11 @@ it { is_expected.to contain_file('http2.conf').with(content: expected_content) } end end + + context 'on Red Hat 8' do + include_examples 'RedHat 8' do + it { is_expected.to contain_class('apache::mod::http2') } + it { is_expected.to contain_package('mod_http2') } + end + end end