File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 125
125
include apache::mod::negotiation
126
126
include apache::mod::setenvif
127
127
include apache::mod::auth_basic
128
+ include apache::mod::log_forensic
128
129
129
130
# filter is needed by mod_deflate
130
131
include apache::mod::filter
Original file line number Diff line number Diff line change
1
+ # @summary
2
+ # Installs `mod_log_forensic`
3
+ #
4
+ # @see https://httpd.apache.org/docs/current/mod/mod_log_forensic.html for additional documentation.
5
+ #
6
+ class apache::mod::log_forensic {
7
+ include apache
8
+ apache::mod { 'log_forensic' : }
9
+ }
Original file line number Diff line number Diff line change
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ describe 'apache::mod::log_forensic' , type : :class do
6
+ [ 'Debian 11' , 'RedHat 8' ] . each do |os |
7
+ context "on a #{ os } OS" do
8
+ include_examples os
9
+
10
+ it { is_expected . to contain_class ( 'apache::params' ) }
11
+ it { is_expected . to contain_class ( 'apache::mod::log_forensic' ) }
12
+ it { is_expected . to contain_apache__mod ( 'log_forensic' ) }
13
+ it { is_expected . to contain_file ( 'log_forensic.load' ) . with_content ( %r{LoadModule log_forensic_module} ) }
14
+ end
15
+ end
16
+ end
You can’t perform that action at this time.
0 commit comments