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

index 7552b4dae4286ab30ba655918373f36431a319bd..923e181d61d315e9c86e824225184848a38155a3 100644 (file)
@@ -16,6 +16,7 @@ class base_installation::cronie inherits base_installation {
     }
     cron::job { 'puppet-pull-apply':
       ensure      => present,
+      environment => [ 'MAILTO=""' ],
       command     => "cd $base_installation::puppet_code_path ; /usr/bin/git pull",
       user        => root,
       minute      => '15,45',