Skip to content

Commit 2bf46b7

Browse files
committed
More updates based on review comments
Bikeshedding over one if statement, what are we even doing, no wonder we can't get commits merged.
1 parent eb5501a commit 2bf46b7

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

manifests/vhost.pp

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2337,18 +2337,16 @@
23372337
}
23382338

23392339
if 'options' in $directory {
2340-
if !('-ExecCGI' in $directory['options']) {
2341-
if 'ExecCGI' in $directory['options'] {
2342-
case $apache::mpm_module {
2343-
'prefork': {
2344-
include apache::mod::cgi
2345-
}
2346-
'worker': {
2347-
include apache::mod::cgid
2348-
}
2349-
default: {
2350-
# do nothing
2351-
}
2340+
if !('-ExecCGI' in $directory['options']) and 'ExecCGI' in $directory['options'] {
2341+
case $apache::mpm_module {
2342+
'prefork': {
2343+
include apache::mod::cgi
2344+
}
2345+
'worker': {
2346+
include apache::mod::cgid
2347+
}
2348+
default: {
2349+
# do nothing
23522350
}
23532351
}
23542352
}

0 commit comments

Comments
 (0)