]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
minor workaround for 0.22.4 clients
authordavid <david@f03ff2f1-f02d-0410-970d-b9634babeaa1>
Mon, 25 Jun 2007 10:16:59 +0000 (10:16 +0000)
committerdavid <david@f03ff2f1-f02d-0410-970d-b9634babeaa1>
Mon, 25 Jun 2007 10:16:59 +0000 (10:16 +0000)
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@59 f03ff2f1-f02d-0410-970d-b9634babeaa1

manifests/init.pp

index c9e61bcee105ec5a0e8dd7148797feeba398dc85..2e4398c812e2729fc16664781461be6a9e7a78d1 100644 (file)
@@ -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"],