diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-04-09 17:44:34 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-04-09 17:44:34 +0200 |
commit | 60bb95a8ae57de3cb3a70290348f041b5f499d91 (patch) | |
tree | b01f49d145040f9ee94aecfb7712719d103a9f3e | |
parent | 01d9e644c9199b1983a974a088a0029e666e5440 (diff) | |
download | Puppet-60bb95a8ae57de3cb3a70290348f041b5f499d91.tar.gz Puppet-60bb95a8ae57de3cb3a70290348f041b5f499d91.tar.zst Puppet-60bb95a8ae57de3cb3a70290348f041b5f499d91.zip |
Disable e-mails for puppet apply
-rw-r--r-- | modules/base_installation/manifests/cronie.pp | 1 |
1 files changed, 1 insertions, 0 deletions
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 { | |||
24 | } | 24 | } |
25 | cron::job::multiple { 'puppet-apply': | 25 | cron::job::multiple { 'puppet-apply': |
26 | ensure => present, | 26 | ensure => present, |
27 | environment => [ 'MAILTO=""' ], | ||
27 | jobs => [ | 28 | jobs => [ |
28 | { | 29 | { |
29 | command => "cd $base_installation::puppet_code_path ; /usr/local/sbin/puppet_apply $base_installation::puppet_code_path/manifests/site.pp", | 30 | command => "cd $base_installation::puppet_code_path ; /usr/local/sbin/puppet_apply $base_installation::puppet_code_path/manifests/site.pp", |