From fd631cdc729f8f009e7d1a47dcc9878d7d62cfd6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 24 May 2016 09:28:37 -0300 Subject: Maintenance: do not mail non-errors --- manifests/maintenance.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/maintenance.pp b/manifests/maintenance.pp index 796880f..8a65216 100644 --- a/manifests/maintenance.pp +++ b/manifests/maintenance.pp @@ -3,7 +3,7 @@ class mpd::maintenance inherits mpd::client::base { cron { "db_update": environment => "MPD_HOST=${password}@localhost", - command => "/usr/bin/mpc update", + command => "/usr/bin/mpc update > /dev/null", user => "root", hour => "7", minute => "0", -- cgit v1.2.3