I'm using this Chef cookbook to set up my Ubuntu 10.04 box, works flawlessly: http://github.com/gerhard/rtorrent-cookbook
I don't have time to do a write-up now, but I'll follow up on this.
If you want to find out more about automating server setups with Chef, this is a good place to start...