aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index dcd4b20..00f0396 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -102,7 +102,7 @@ class apt {
}
if $apt_update_method == 'exec' {
- exec { "/usr/bin/apt-get update && /usr/bin/apt-get autoclean #hourly":
+ exec { "/usr/bin/apt-get update > /dev/null 2>&1 && /usr/bin/apt-get autoclean > /dev/null 2>&1 #hourly":
require => [ File["/etc/apt/sources.list"], File["/etc/apt/preferences"], File[apt_config] ],
# Another Semaphor for all packages to reference
alias => apt_updated,