On Friday 17 April 2009 06:52:50 Matt wrote: > This allows me to call s3get on a file in a bucket from Amazon S3. The > problem I have is that I can't see a way for an exec or package type to > wait (require) while the download is completed so I can complete tasks > within one poll.
Why can't you just use a require for this? Presumably the require will have its own logic to determine whether or not it needs to run. BTW, I've made an S3-related script for my own use you may find handy: https://code.launchpad.net/~eythian/+junk/ec2facts (the name is misleading, after the EC2 code I added stuff to interact with S3 to it :) -- Robin <ro...@kallisti.net.nz> JabberID: <eyth...@jabber.kallisti.net.nz> http://www.kallisti.net.nz/blog ||| http://identi.ca/eythian PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
signature.asc
Description: This is a digitally signed message part.