Merge "Increase rsyslog buffer sizes."

This commit is contained in:
Jenkins 2013-11-20 22:12:19 +00:00 committed by Gerrit Code Review
commit 99a6cee9c7

View File

@ -338,7 +338,20 @@ class jenkins::slave(
}
}
# Increase syslog message size in order to capture
# python tracebacks with syslog.
file { '/etc/rsyslog.d/99-maxsize.conf':
ensure => absent,
ensure => present,
# Note MaxMessageSize is not a puppet variable.
content => '$MaxMessageSize 6k',
owner => 'root',
group => 'root',
mode => '0644',
}
service { 'rsyslog':
ensure => running,
enable => true,
subscribe => File['/etc/rsyslog.d/99-maxsize.conf'],
}
}