fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] I can't respond to prompts using Fabric "shell" or "run"


From: Jeff Forcier
Subject: Re: [Fab-user] I can't respond to prompts using Fabric "shell" or "run" verbs
Date: Tue, 16 Dec 2008 09:39:03 -0500

Hi David,

Interactive prompting is still on the todo list, unfortunately. Fabric
is capable of re-prompting for sudo and login passwords, but we
haven't yet extended that to a more generic "is the remote end
prompting us for input?" functionality (which is a harder nut to crack
than simply parsing for a specific password prompt).

So, you're not missing anything: that's just not possible right now.
But we hope to have it implemented in the near future :)

Best,
Jeff

On Tue, Dec 16, 2008 at 9:08 AM, Hancock, David (dhancock)
<address@hidden> wrote:
> I can't seem to see and respond to prompts (shell "read" commands) using the
> Fabric shell, and I'd be grateful for people telling me what I'm doing
> wrong.
>
> I'm trying to run the command line "/etc/init.d/oracle-xe configure" as part
> of installing Oracle, and no matter whether I enter it at a "fab>" shell
> prompt or via the run() command, the script reaches the first prompt and
> stops. I can enter what I know is the correct responses, but they are not
> accepted by the script and no furthe prompts appear.
>
> Other than that, we are having a great time using Fabric to automate or
> semiautomate deployment of software to dev, test, and production boxes; it's
> a very nice tool for us.
>
> Cheers!
> --
> David Hancock | address@hidden
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/fab-user
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]