Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions manifests/mod/apreq2.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# @summary
# Installs `mod_apreq2`.
#
# @see http://httpd.apache.org/apreq/docs/libapreq2/group__mod__apreq2.html for additional documentation.
#
# @note Unsupported platforms: CentOS: all; Debian: 8; OracleLinux: all; RedHat: all; Scientific: all; SLES: all; Ubuntu: all
class apache::mod::apreq2 {
::apache::mod { 'apreq2':
id => 'apreq_module',
}
}
1 change: 1 addition & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@
default => '7.2', # Ubuntu Bionic, Cosmic and Disco
}
$mod_packages = {
'apreq2' => 'libapache2-mod-apreq2',
'auth_cas' => 'libapache2-mod-auth-cas',
'auth_kerb' => 'libapache2-mod-auth-kerb',
'auth_openidc' => 'libapache2-mod-auth-openidc',
Expand Down
13 changes: 13 additions & 0 deletions spec/acceptance/mod_apreq2_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
require 'spec_helper_acceptance'
apache_hash = apache_settings_hash

describe 'apache::mod::apreq2', if: mod_supported_on_platform?('apache::mod::apreq2') do
pp = <<-MANIFEST
class { 'apache' : }
class { 'apache::mod::apreq2': }
MANIFEST

it 'succeeds in installing the mod_authnz_apreq2 module' do
apply_manifest(pp, catch_failures: true)
end
end