Skip to content

Commit

Permalink
fixes conditional in vhost aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
bmjen committed Aug 12, 2015
1 parent fbf0eff commit 3ff15a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/vhost.pp
Expand Up @@ -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
}
Expand Down

0 comments on commit 3ff15a5

Please sign in to comment.