logo       

Re: how does capistrano determine the username?: msg#00116

lang.ruby.capistrano.general

Subject: Re: how does capistrano determine the username?


On Nov 18, 2007 1:10 AM, Alex Soto
<apsoto-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:

> On Nov 17, 2007, at 7:48 PM, John Joseph Bachir wrote:
>
> > I am making my script prompt for a username, but I would like it to
> > offer a default of what capistrano would use. It seems as though user
> > and ssh_options[:username] are both nil at the point where I want to
> > access them. How does capistrano determine the default username?
>
> set :user, 'myuser'

Thanks Alex-- that's actually not what I'm looking for though. This is
how to tell capistrano which username to use, but would like to know
which username capistrano will use if I do NOT set it manually.

--
John Joseph Bachir
http://lyceum.ibiblio.org
http://blog.johnjosephbachir.org
aim/yim/msn/jabber.org/gtalk: johnjosephbachir
713-494-2704
http://jjb.cc



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise