Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Commit 9e4f6b1

Browse files
committed
apache: fix conditionals for future parser.
1 parent 2b6c68d commit 9e4f6b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manifests/init.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@
438438
}
439439

440440
# The whole apache configuration directory can be recursively overriden
441-
if $apache::source_dir {
441+
if $apache::source_dir and $apache::source_dir != '' {
442442
file { 'apache.dir':
443443
ensure => directory,
444444
path => $apache::config_dir,
@@ -461,7 +461,7 @@
461461
}
462462

463463
### Include custom class if $my_class is set
464-
if $apache::my_class {
464+
if $apache::my_class and $apache::my_class != '' {
465465
include $apache::my_class
466466
}
467467

0 commit comments

Comments
 (0)