logo       

how does capistrano determine the username?: msg#00114

lang.ruby.capistrano.general

Subject: how does capistrano determine the username?


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? I
scoured the code for longer than I'd like to admit, and could not find
the relevant logic.

Thanks,
John

--
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