The s3get function is unable to take a require as it does not support it. However, I was able to put a require on the underlying Exec and just pass in a variable to it, so that did work :-)
Thanks for the link BTW, the Ec2 facters could be very handy. 2009/4/16 Robin Sheat <ro...@kallisti.net.nz> > 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<https://code.launchpad.net/%7Eeythian/+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 > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---