|
Giving an input_query a response: msg#00119lang.ruby.capistrano.general
I wanted to provide a password for a new user account for each machine, so I wanted to send the password as a response to "Enter new UNIX password" etc. Here are some variations of the actor_extension.rb methods (e.g. sudo_with_input) that I wrote. I used them like: sudo_with_input_and_response "passwd #{user}", /password/, password Someone might like to add these to actor_extension.rb, or modify the existing methods to allow an optional response argument (instead of always prompting the user for a value/password). Code here - http://pastie.caboo.se/119401 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: how to see errors on remote hosts?: 00119, Jonathan Weiss |
|---|---|
| Next by Date: | ############ SEX FUCKING VIDEO FREE ## PACKISTAN AUNTEY SEX VIDEO ##DOWNLOAD FREE## FREE SEX SITE FREE#########: 00119, hxxzcx |
| Previous by Thread: | how does capistrano determine the username?i: 00119, John Joseph Bachir |
| Next by Thread: | ############ SEX FUCKING VIDEO FREE ## PACKISTAN AUNTEY SEX VIDEO ##DOWNLOAD FREE## FREE SEX SITE FREE#########: 00119, hxxzcx |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |