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
This commit is contained in:
parent
f0c91f753a
commit
af6e1e6c8b
1 changed files with 2 additions and 1 deletions
|
@ -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"],
|
||||
|
|
Loading…
Reference in a new issue