From 3ff15a5e7e3fc3cc9adb7efd23c89169adde8a07 Mon Sep 17 00:00:00 2001 From: Bryan Jen Date: Wed, 12 Aug 2015 15:53:43 -0700 Subject: [PATCH] fixes conditional in vhost aliases --- manifests/vhost.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/vhost.pp b/manifests/vhost.pp index 0fb37851c1..20b1aa6b91 100644 --- a/manifests/vhost.pp +++ b/manifests/vhost.pp @@ -363,7 +363,7 @@ } # Load mod_alias if needed and not yet loaded - if ($scriptalias and $scriptaliases != []) or ($aliases and $aliases != []) or ($redirect_source and $redirect_dest) { + if ($scriptalias or $scriptaliases != []) or ($aliases and $aliases != []) or ($redirect_source and $redirect_dest) { if ! defined(Class['apache::mod::alias']) and ($ensure == 'present') { include ::apache::mod::alias }