From af6e1e6c8b9a72907da1179ed4205e99778190b2 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 25 Jun 2007 10:16:59 +0000 Subject: minor workaround for 0.22.4 clients git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@59 f03ff2f1-f02d-0410-970d-b9634babeaa1 --- manifests/init.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manifests') diff --git a/manifests/init.pp b/manifests/init.pp index c9e61bc..2e4398c 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -56,7 +56,8 @@ class apt { } exec { - "/usr/bin/apt-get -y update #on refresh": + # "&& sleep 1" is workaround for older(?) clients + "/usr/bin/apt-get -y update && sleep 1 #on refresh": refreshonly => true, subscribe => [ File["/etc/apt/sources.list"], File["/etc/apt/preferences"], File["/etc/apt/apt.conf.d"], -- cgit v1.2.3