From 3b7ff697fa635a4b5fc488735e3534e8d042cb22 Mon Sep 17 00:00:00 2001 From: Martin Schuette Date: Mon, 2 Jun 2014 12:59:12 +0200 Subject: [PATCH] remove atop cronjob --- manifests/sysadmin.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/manifests/sysadmin.pp b/manifests/sysadmin.pp index 9b91411..55f7302 100644 --- a/manifests/sysadmin.pp +++ b/manifests/sysadmin.pp @@ -42,11 +42,16 @@ class ff_gw::sysadmin($zabbixserver = '127.0.0.1', $muninserver = '127.0.0.1', $ 'screen', 'tcpdump', 'rsync', 'file', 'psmisc']: ensure => installed, } + -> + # remove atop cronjob + file { '/etc/cron.d/atop': + ensure => absent, + } + -> # stop atop daemon (cf. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506191) service { 'atop': ensure => stopped, enable => false, - require => Package['atop'] } # user accounts