]> gitweb.fluxo.info Git - puppet-mpd.git/commitdiff
Maintenance: do not mail non-errors
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 24 May 2016 12:28:37 +0000 (09:28 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 24 May 2016 12:28:37 +0000 (09:28 -0300)
manifests/maintenance.pp

index 796880f37597b5a2d219a83265af285de9a02ead..8a6521645f1674d64b18b9f1d4c57e28457a3678 100644 (file)
@@ -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",