aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authordavid <david@f03ff2f1-f02d-0410-970d-b9634babeaa1>2007-06-25 10:16:59 +0000
committerdavid <david@f03ff2f1-f02d-0410-970d-b9634babeaa1>2007-06-25 10:16:59 +0000
commitaf6e1e6c8b9a72907da1179ed4205e99778190b2 (patch)
treec85010e316db55aaef116bb35fe59e3ef8ce40e5 /manifests
parentf0c91f753a67436ed517b7bd231ee892a8f6c071 (diff)
downloadpuppet-apt-af6e1e6c8b9a72907da1179ed4205e99778190b2.tar.gz
puppet-apt-af6e1e6c8b9a72907da1179ed4205e99778190b2.tar.bz2
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
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp3
1 files changed, 2 insertions, 1 deletions
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"],