]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
Redirecting apt-get update cron entry output to /dev/null
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 2 Jan 2010 16:11:25 +0000 (14:11 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 2 Jan 2010 16:11:25 +0000 (14:11 -0200)
manifests/init.pp

index 85933001db1626ee8782afd502a0404a72b9095f..8ad0a85d7c92a287f08ff611f101bfa871ef733d 100644 (file)
@@ -99,7 +99,7 @@ class apt {
        }
   } else {
     cron { "apt_updated":
-      command  => "/usr/bin/apt-get update && /usr/bin/apt-get autoclean #hourly &> /dev/null",
+      command  => "/usr/bin/apt-get update &> /dev/null && /usr/bin/apt-get autoclean #hourly &> /dev/null",
       user     => root,
       hour     => "*/1",
       minute   => "0",