File tree 3 files changed +3
-9
lines changed
3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 124
124
include apache::mod::setenvif
125
125
include apache::mod::auth_basic
126
126
127
- # filter is needed by mod_deflate
128
- include apache::mod::filter
129
-
130
127
# authz_core is needed for 'Require' directive
131
128
::apache::mod { 'authz_core' :
132
129
id => ' authz_core_module' ,
145
142
::apache::mod { 'authz_core' :
146
143
id => ' authz_core_module' ,
147
144
}
148
-
149
- # filter is needed by mod_deflate
150
- include apache::mod::filter
151
145
} else {
152
146
# authz_core is needed for 'Require' directive
153
147
::apache::mod { 'authz_core' :
154
148
id => ' authz_core_module' ,
155
149
}
156
-
157
- # filter is needed by mod_deflate
158
- include apache::mod::filter
159
150
}
160
151
}
Original file line number Diff line number Diff line change 24
24
}
25
25
) {
26
26
include apache
27
+ include apache::mod::filter
28
+
27
29
::apache::mod { 'deflate' : }
28
30
29
31
file { 'deflate.conf' :
Original file line number Diff line number Diff line change 5
5
# This function is called inside the OS specific contexts
6
6
def general_deflate_specs
7
7
it { is_expected . to contain_apache__mod ( 'deflate' ) }
8
+ it { is_expected . to contain_class ( 'apache::mod::filter' ) }
8
9
9
10
expected = "AddOutputFilterByType DEFLATE application/rss+xml\n " \
10
11
"AddOutputFilterByType DEFLATE application/x-javascript\n " \
You can’t perform that action at this time.
0 commit comments