]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
Changing apt update command to be dash-compatible (2)
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 30 Jun 2010 20:31:25 +0000 (17:31 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 30 Jun 2010 20:31:25 +0000 (17:31 -0300)
manifests/init.pp

index 00f03962f617aa557dfc208aa05be692fd4eba9e..028d828e98400b82b285334c576b2ccc7155831f 100644 (file)
@@ -109,7 +109,7 @@ class apt {
        }
   } else {
     cron { "apt_updated":
-      command  => "/usr/bin/apt-get update &> /dev/null && /usr/bin/apt-get autoclean &> /dev/null",
+      command  => "/usr/bin/apt-get update > /dev/null 2>&1 && /usr/bin/apt-get autoclean > /dev/null 2>&1",
       user     => root,
       hour     => "*/1",
       minute   => "0",