fab-user
[Top][All Lists]
Advanced

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

[Fab-user] using run on a machine that doesn't have /bin/bash


From: Don Jackson
Subject: [Fab-user] using run on a machine that doesn't have /bin/bash
Date: Thu, 20 Nov 2008 22:01:22 -0800


Doesn't seem to work.

$ cat fabfile
set(
  fab_hosts = ['svn01'],
)

def pwd():
    "prints cwd"
    run("pwd")

$ fab pwd
   Fabric v. 0.0.9, Copyright (C) 2008 Christian Vest Hansen.
Fabric comes with ABSOLUTELY NO WARRANTY; for details type `fab warranty'.
   This is free software, and you are welcome to redistribute it
   under certain conditions; type `fab license' for details.

Running pwd...
Logging into the following hosts as dcj:
    svn01
[svn01] run: pwd
[svn01] err: ksh: /bin/bash: not found
Error: The run operation failed on svn01.

Is there a variable I can set that will make fabric use another shell?






reply via email to

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