Stop overriding rsyslog message size on slaves.

* modules/jenkins/manifests/slave.pp: Remove the configuration
snipped and package reload mechanism for rsyslog now that we're back
to using screen logs for devstack-gate.

Change-Id: I328aed006c9f23a4e4dd459b55fc8fcd844f40fa
Reviewed-on: https://review.openstack.org/22654
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
This commit is contained in:
Jeremy Stanley 2013-02-22 01:09:06 +00:00 committed by Jenkins
parent 8b04d362b5
commit ccdd3b1bd7

View File

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