From b8f7125626a59f16d1df8d2a8aa9fddc794d37af Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Tue, 14 May 2013 18:44:44 +0000 Subject: [PATCH] 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 Reviewed-by: Clark Boylan Approved: Clark Boylan Tested-by: Jenkins --- modules/openstack_project/manifests/server.pp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/openstack_project/manifests/server.pp b/modules/openstack_project/manifests/server.pp index 09953e5ab9..a5a30a6ff6 100644 --- a/modules/openstack_project/manifests/server.pp +++ b/modules/openstack_project/manifests/server.pp @@ -18,8 +18,8 @@ class openstack_project::server ( sysadmin => $sysadmins, } - # Custom rsyslog config to disable /dev/xconsole noise on Debuntu servers if $::osfamily == 'Debian' { + # Custom rsyslog config to disable /dev/xconsole noise on Debuntu servers file { '/etc/rsyslog.d/50-default.conf': ensure => present, owner => 'root', @@ -34,5 +34,11 @@ class openstack_project::server ( hasrestart => true, 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, + } } }