Merge "Increase rsyslog buffer sizes."
This commit is contained in:
commit
99a6cee9c7
@ -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':
|
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'],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user