Commit 1797602
committed
disable::mpm_event: Fix module deactivation
there were a few things broken:
* a2dismod was called with the wrong module name. at least on apache
2.4.54 on Debian 11 it is named mpm_event, not event
* the paths to the files were wrong
* a2dismod already purges the .load and .conf file, the exec resources
are not required (even then a file resource would probably be cleaner
to purge them)
* Apache needs to be reloaded, so just running this priot to
apache2::service isn't enough, it needs to be a notify
This initially worked but was changed from mpm_event to event in
#1961. Then it was
fixed in #2034 by
adding the exec resources, but the actual a2dismod was still broken.1 parent 1d2302d commit 1797602
File tree
2 files changed
+5
-23
lines changed- manifests/mpm
- spec/classes
2 files changed
+5
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 9 | + | |
28 | 10 | | |
29 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| |||
0 commit comments