Merge "Change remote logging configuration condition"

This commit is contained in:
Jenkins 2015-10-05 13:10:11 +00:00 committed by Gerrit Code Review
commit 37e1a0ee9f

View File

@ -19,9 +19,7 @@ $syslog_rserver = {
'port' => $syslog_hash['syslog_port'],
}
if ($syslog_hash['syslog_server'] != ''
and $syslog_hash['syslog_port'] != ''
and $syslog_hash['syslog_transport'] != '') {
if $syslog_hash['metadata']['enabled'] {
$rservers = [$base_syslog_rserver, $syslog_rserver]
} else {
$rservers = [$base_syslog_rserver]