Skip to content

Commit

Permalink
Merge pull request puppetlabs#1734 from hfm/remove-unused-var
Browse files Browse the repository at this point in the history
Remove unused variable $_logs_dest
  • Loading branch information
willmeek authored Dec 12, 2017
2 parents bb63f4d + 731821d commit d08e55f
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions manifests/vhost.pp
Original file line number Diff line number Diff line change
Expand Up @@ -287,20 +287,6 @@
$cas_enabled = defined(Apache::Mod['auth_cas'])

if $access_log and !$access_logs {
if $access_log_file {
if $access_log_file =~ /^\// {
# Absolute path provided - don't prepend $logroot
$_logs_dest = $access_log_file
} else {
$_logs_dest = "${logroot}/${access_log_file}"
}
} elsif $access_log_pipe {
$_logs_dest = $access_log_pipe
} elsif $access_log_syslog {
$_logs_dest = $access_log_syslog
} else {
$_logs_dest = undef
}
$_access_logs = [{
'file' => $access_log_file,
'pipe' => $access_log_pipe,
Expand Down

0 comments on commit d08e55f

Please sign in to comment.