From: Silvio Rhatto Date: Wed, 30 Jun 2010 20:31:25 +0000 (-0300) Subject: Changing apt update command to be dash-compatible (2) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=284acf0b93e45946d41a200868a5ddce1a1530e0;p=puppet-apt.git Changing apt update command to be dash-compatible (2) --- diff --git a/manifests/init.pp b/manifests/init.pp index 00f0396..028d828 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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",