Remove whoopsie package from all servers.
We've seen the whoopsie process eating many gigs of virtual memory on servers, and it has a history of memory leaks. It's also more of a desktop-oriented application geared for reporting backtraces to Canonical when programs crash, so we don't need it on our servers anyway. Change-Id: I83a16b557d2601acdfcbe4c342bb05d325df77c9 Reviewed-on: https://review.openstack.org/29117 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
This commit is contained in:
parent
7013e66a08
commit
b8f7125626
@ -18,8 +18,8 @@ class openstack_project::server (
|
|||||||
sysadmin => $sysadmins,
|
sysadmin => $sysadmins,
|
||||||
}
|
}
|
||||||
|
|
||||||
# Custom rsyslog config to disable /dev/xconsole noise on Debuntu servers
|
|
||||||
if $::osfamily == 'Debian' {
|
if $::osfamily == 'Debian' {
|
||||||
|
# Custom rsyslog config to disable /dev/xconsole noise on Debuntu servers
|
||||||
file { '/etc/rsyslog.d/50-default.conf':
|
file { '/etc/rsyslog.d/50-default.conf':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
@ -34,5 +34,11 @@ class openstack_project::server (
|
|||||||
hasrestart => true,
|
hasrestart => true,
|
||||||
subscribe => File['/etc/rsyslog.d/50-default.conf'],
|
subscribe => File['/etc/rsyslog.d/50-default.conf'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Ubuntu installs their whoopsie package by default, but it eats through
|
||||||
|
# memory and we don't need it on servers
|
||||||
|
package { 'whoopsie':
|
||||||
|
ensure => absent,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user