From: Ismaƫl Bouya Date: Mon, 6 Apr 2020 12:19:41 +0000 (+0200) Subject: Remove outdated list crontab for caldance X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FPuppet.git;a=commitdiff_plain;h=441b866a095bd177a8faa541ea7ef605ba369fe9 Remove outdated list crontab for caldance --- diff --git a/modules/role/manifests/caldance.pp b/modules/role/manifests/caldance.pp index 343ea34..df02b07 100644 --- a/modules/role/manifests/caldance.pp +++ b/modules/role/manifests/caldance.pp @@ -247,15 +247,7 @@ class role::caldance ( enable => true } - $mailtos = join($cron_pip, ",") cron::job { "list_outdated_pip_packages": - ensure => present, - user => $user, - environment => ["HOME=${home}","MAILTO=${mailtos}"], - command => "${home}/virtualenv/bin/pip list --outdated", - minute => "0", - hour => "10", - weekday => "1", - require => Exec["initialize_venv"], + ensure => absent } }