From f2ac56ebcabd8190e8fadccf3890a8430f7f7af1 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 30 Jun 2010 14:24:21 -0300 Subject: Changing apt update command to be dash-compatible --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests/init.pp') 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, -- cgit v1.2.3