diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-06-30 17:31:25 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-06-30 17:31:25 -0300 |
commit | 284acf0b93e45946d41a200868a5ddce1a1530e0 (patch) | |
tree | 743d537d73504d748f88b0122ce24affb37ba381 | |
parent | f2ac56ebcabd8190e8fadccf3890a8430f7f7af1 (diff) | |
download | puppet-apt-284acf0b93e45946d41a200868a5ddce1a1530e0.tar.gz puppet-apt-284acf0b93e45946d41a200868a5ddce1a1530e0.tar.bz2 |
Changing apt update command to be dash-compatible (2)
-rw-r--r-- | manifests/init.pp | 2 |
1 files changed, 1 insertions, 1 deletions
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", |