]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Disable e-mails for puppet apply
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Tue, 9 Apr 2019 15:44:34 +0000 (17:44 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Tue, 9 Apr 2019 15:44:34 +0000 (17:44 +0200)
modules/base_installation/manifests/cronie.pp

index ca3eb2a4548193e9a8c1e0b611690cef6a98aa15..7552b4dae4286ab30ba655918373f36431a319bd 100644 (file)
@@ -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",