File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ # @summary
2+ # Installs `mod_apreq2`.
3+ #
4+ # @see http://httpd.apache.org/apreq/docs/libapreq2/group__mod__apreq2.html for additional documentation.
5+ #
6+ # @note Unsupported platforms: CentOS: all; Debian: 8; OracleLinux: all; RedHat: all; Scientific: all; SLES: all; Ubuntu: all
7+ class apache::mod::apreq2 {
8+ ::apache::mod { 'apreq2' :
9+ id => ' apreq_module' ,
10+ }
11+ }
Original file line number Diff line number Diff line change 389389 default => ' 7.2' , # Ubuntu Bionic, Cosmic and Disco
390390 }
391391 $mod_packages = {
392+ ' apreq2' => ' libapache2-mod-apreq2' ,
392393 ' auth_cas' => ' libapache2-mod-auth-cas' ,
393394 ' auth_kerb' => ' libapache2-mod-auth-kerb' ,
394395 ' auth_openidc' => ' libapache2-mod-auth-openidc' ,
Original file line number Diff line number Diff line change 1+ require 'spec_helper_acceptance'
2+ apache_hash = apache_settings_hash
3+
4+ describe 'apache::mod::apreq2' , if : mod_supported_on_platform? ( 'apache::mod::apreq2' ) do
5+ pp = <<-MANIFEST
6+ class { 'apache' : }
7+ class { 'apache::mod::apreq2': }
8+ MANIFEST
9+
10+ it 'succeeds in installing the mod_authnz_apreq2 module' do
11+ apply_manifest ( pp , catch_failures : true )
12+ end
13+ end
You can’t perform that action at this time.
0 commit comments