X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fbase_installation%2Fmanifests%2Fcronie.pp;h=923e181d61d315e9c86e824225184848a38155a3;hb=0f3b69eb188346cb657850ea218918bd4a43460d;hp=ca3eb2a4548193e9a8c1e0b611690cef6a98aa15;hpb=220496056eb730f204f9d21d61d10d41d876c5a1;p=perso%2FImmae%2FProjets%2FPuppet.git diff --git a/modules/base_installation/manifests/cronie.pp b/modules/base_installation/manifests/cronie.pp index ca3eb2a..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', @@ -24,6 +25,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",