Sean, We solve this problem by ensuring that .conf apache files are also loaded from the current/ directory of our app, so you only need sudo to alter the system's apache config once.
The alternative is to put() the file, and sudo symlink it. - Lee 2009/2/7 Sean <[email protected]> > > Is it possible to use the put helper with sudo? Basically, I've > created an Apache config file using an ERB template and would like to > put it on the server during my deploy, but I need to use sudo to allow > the file to be created in the directory where it needs to go. > > I know how to create the file from the template, and I know how to use > the put helper, I just don't know how to force it to use sudo. > > Thanks, > Sean > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
