Re: [Fab-user] sudo and put

2010-02-17 Thread Bram Enning
Ok, thanks! On Tue, Feb 16, 2010 at 4:01 PM, Jeff Forcier j...@bitprophet.org wrote: Hi Bram, Right now that's the best way to do it, but we have plans for baking that sort of thing into put() itself. You can also use fabric.contrib.files.upload_template() (and just don't supply a

Re: [Fab-user] sudo and put

2010-02-16 Thread Jeff Forcier
Hi Bram, Right now that's the best way to do it, but we have plans for baking that sort of thing into put() itself. You can also use fabric.contrib.files.upload_template() (and just don't supply a template context dict, or an empty one) which has a use_sudo option. Again, though, this is an ugly