From 0f3b69eb188346cb657850ea218918bd4a43460d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 9 Apr 2019 17:46:23 +0200 Subject: [PATCH] Disable mailto for all puppet apply --- modules/base_installation/manifests/cronie.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/base_installation/manifests/cronie.pp b/modules/base_installation/manifests/cronie.pp index 7552b4d..923e181 100644 --- a/modules/base_installation/manifests/cronie.pp +++ b/modules/base_installation/manifests/cronie.pp @@ -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', -- 2.41.0