]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Fix ifcheck cron output
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 18 Sep 2015 17:19:24 +0000 (14:19 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 18 Sep 2015 17:19:24 +0000 (14:19 -0300)
manifests/subsystem/monitor/interface.pp

index 102f5b25625bc36177c5c1c7762b015dd2e6eab6..4f0ec619ee14e2edc86fec6b7e93b36c03f39c8b 100644 (file)
@@ -5,7 +5,7 @@ define nodo::subsystem::monitor::interface(
 )
 {
   cron { "ifcheck-${name}":
-    command => "/usr/local/sbin/ifcheck ${name}",
+    command => "/usr/local/sbin/ifcheck ${name} &> /dev/null",
     user    => 'root',
     hour    => $hour,
     minute  => $minute,