To my knowledge, mongrel_cluster/recipes has not been updated to cap2.
I might be wrong, though.
For the password, be sure and set :user to the name of the user that
you use to log into the server, and :scm_username to the name of the
user by which you identify yourself to your SVN repository.
- Jamis
On 7/25/07, harm <[EMAIL PROTECTED]> wrote:
>
> Dear list,
>
> I waited for cap2 to be released before I (re)deployed my app(cap
> deploy:cold). I have a server which is both my svn and deployment
> server. My workstation has a ssh key which needs a password. Using a
> Mac I use SSH Agent to manage that password but I might be possible
> that that does not work properly. But the biggest hitch is the fact
> that I use different usernames. In cap1.4 I could use: set :user,
> "foo"
> I copied this to my new deploy.rb but I am not so sure it is used. So
> I am wondering what service is asking my password and for what user.
> Is it the workstation to server or the server to server?
>
> An other point is the fact that I am using a mongrel server which in
> the passed required the line:
> require 'mongrel_cluster/recipes'
> Is this still required?
>
> My complete deploy.rb looks like:
> [begin]
> require 'mongrel_cluster/recipes'
>
> set :application, "bar.nl"
> set :repository, "svn+ssh://foo.org/home/myuser/repositories/bar.nl"
>
> # If you aren't deploying to /u/apps/#{application} on the target
> # servers (which is the default), you can specify the actual location
> # via the :deploy_to variable:
> set :deploy_to, "/var/www/#{application}/httpdocs"
> set :user, "myuser"
> set :use_sudo, false
> set :mongrel_conf, "#{current_path}/config/mongrel_cluster.yml"
>
> # If you aren't using Subversion to manage your source code, specify
> # your SCM below:
> # set :scm, :subversion
>
> role :app, "foo.org"
> role :web, "foo.org"
> role :db, "foo.org", :primary => true
> [end]
>
> Any help would be greatly appreciated!
>
> With kind regards,
> Harm
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---