From: Ismaƫl Bouya Date: Tue, 9 Apr 2019 15:44:34 +0000 (+0200) Subject: Disable e-mails for puppet apply X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=60bb95a8ae57de3cb3a70290348f041b5f499d91;p=perso%2FImmae%2FProjets%2FPuppet.git Disable e-mails for puppet apply --- diff --git a/modules/base_installation/manifests/cronie.pp b/modules/base_installation/manifests/cronie.pp index ca3eb2a..7552b4d 100644 --- a/modules/base_installation/manifests/cronie.pp +++ b/modules/base_installation/manifests/cronie.pp @@ -24,6 +24,7 @@ class base_installation::cronie inherits base_installation { } cron::job::multiple { 'puppet-apply': ensure => present, + environment => [ 'MAILTO=""' ], jobs => [ { command => "cd $base_installation::puppet_code_path ; /usr/local/sbin/puppet_apply $base_installation::puppet_code_path/manifests/site.pp",