fab-user
[Top][All Lists]
Advanced

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

[Fab-user] not fabbing to *nix


From: lconrad
Subject: [Fab-user] not fabbing to *nix
Date: Tue, 02 Jun 2015 16:36:25 -0500



I'm learning fab in a project to program Occam blades, etc. the fab or python script will be passed 5 params from a PHP web app, params entered by the web user.

there's no unix type shell in Occam, so excluding the ip, user, password env stuff :

env.shell=""


def test():
   run("show subscriber all")


I run it:

fab test --show=debug

Using fabfile '/usr/local/bin/fabfile.py'

Commands to run: test

Parallel tasks now using pool size of 0

[10.75.xx.xx] run:  "show subscriber all"
[10.75.xx.xx] out:
[10.75.xx.xx] out: WARNING: Authorized Access Only
[10.75.xx.xx] out:
[10.75.xx.xx] out: OCM#

the prompt is the last line.   if I type:

show subscriber all

it works, but doesn't work in fab when run in fab

Is fab the wrong tool?

thanks
Len





reply via email to

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