Skip to content

Commit 8325f5f

Browse files
committed
Fix dav logic based on suggestions
1 parent 6426552 commit 8325f5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

manifests/vhost.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2356,10 +2356,10 @@
23562356

23572357
if 'dav' in $directory {
23582358
include apache::mod::dav
2359-
if $directory['dav'] == 'On' {
2360-
include apache::mod::dav_fs
2361-
} elsif $directory['dav'] == 'svn' {
2359+
if $directory['dav'] == 'svn' {
23622360
include apache::mod::dav_svn
2361+
} elsif apache::bool2httpd($directory['dav']) == 'On' {
2362+
include apache::mod::dav_fs
23632363
}
23642364
}
23652365

0 commit comments

Comments
 (0)