aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp2
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",