What is your issue with this? That specific call is using the parmiko library
instances, and as such needs to leverage some of the methods provided on it's
instance.
Thing is, as a user of fabric, you don't have the need to use that directly.
Any connectivity work like that is taken care of for
and then go through the rest of the list in order.
--
¤¤
¤ kyoboku kazeoshi ¤
¤¤
From: Morgan Goose [morgan.go...@gmail.com]
Sent: Thursday, October 14, 2010 9:26
To: Jeff Honey
Subject: Re: [Fab-user] order control
If you want to capture stdout and stderr on the the cli and pipe it to a file
you can use tee like was suggested and some bash fu:
If you don't need it to display:
yourcommand filename
or if you do:
yourcommand 2$1 | tee filename
Youd could hide the fabric ouput with in the scope of the command and just
manually print out the executing line to your liking before the call:
with settings(hide=everything):
print Executing %s... % command
run(command)
goose
On Thu, Oct 21, 2010 at 07:38:55PM -0400, Yungwei Chen
Sounds cool, you have it up anywhere (gihub/bitbucket/googlecode/etc)?
goose
On Thu, Nov 18, 2010 at 10:04:26PM +, Michael Gliwinski wrote:
Hello fab(ulous) people!
I've been using Fabric for a while now but am new to the list. I'm just
catching up with archives and I've noticed that
Until the new features come out, people just use whatever to make an archive of
the folder and then just uncompress the archive on the remote machine, or use
rsync.
goose
On Tue, Feb 01, 2011 at 12:39:18PM +0530, Abhishek Kona wrote:
Hi
There does not seem to be any api to 'put' a folder to
here you go, http://docs.fabfile.org/en/1.0.1/usage/library.html
On Sat, May 07, 2011 at 06:51:28PM +0200, Aljoša Mohorović wrote:
i've been searching in docs but didn't find anything although i
remember reading something about it.
could somebody point to where in docs is described how can i
You're most likely going to have to shell out to local. I can't see paramiko
supporting that if it doesn't support agent forwarding, or tunnels.
goose
On Tue, May 10, 2011 at 11:18:39AM +0100, James Turnbull wrote:
I have a SOCKS proxy setup to a gateway server which is created by setting up
Have you read any of the docs online yet or at least the tutorial? A
lot of your questions would be answered by the documentation that was
written specifically to adress the common use cases.
- goose
On Mon, Oct 24, 2011 at 11:58 AM, Kaushal Shriyan
kaushalshri...@gmail.com wrote:
On Mon, Oct
Do you have a full stacktrace to send out, and perhaps more info on
how you're using/running the fab task?
-goose
On Fri, Mar 16, 2012 at 4:56 PM, Maximilia Black maxietbl...@yahoo.com wrote:
Hi,
I'm having an error when I try to connect to one of my servers through
fabric. I keep getting
tee...@gmail.com wrote:
On Tue, Mar 27, 2012 at 1:13 PM, Morgan Goose morgan.go...@gmail.com
wrote:
What is it you even mean by staging? You might be over looking GNU
commands that will do exactly what you need. If you give us some more
information, we might be able to assist.
-goose
Hi
wrote:
On Tue, Mar 27, 2012 at 3:24 PM, Morgan Goose morgan.go...@gmail.com
wrote:
Use xargs:
def parallel_local(cmd, list_of_args, procs=4):
local(echo '%s' | xargs -P %d -n1 %s % ( .join(list_of_args),
num_of_procs, cmd))
I find that most everything you wanna do has a gnu command
Don't use interactive with parallel. Use ssh keys and or an ssh-agent.
No good things will come from that use case, as the parallel execution
aims at serving larger lists of hosts (100+).
-goose
On Wed, Apr 4, 2012 at 5:55 AM, Rohr, David david.r...@dice.se wrote:
Hey all.
I got a weird
First have you read the tutorial? This is the section that will get
you in on host list defining, and point you the the more detailed
information that I link to below it:
http://docs.fabfile.org/en/1.4.1/tutorial.html#defining-connections-beforehand
As that will be sequential and honor the host list as well. It will
also run the test on all hosts before moving to the next task listed,
update.
-goose
On Thu, Apr 26, 2012 at 3:25 PM, Morgan Goose morgan.go...@gmail.com wrote:
First have you read the tutorial? This is the section that will get
to
make sure that deploy is always called with empty host list and I need
to find a way to specify hosts from command line for the subtasks.
--
anatoly t.
On Fri, Apr 27, 2012 at 11:48 PM, Morgan Goose morgan.go...@gmail.com wrote:
The example I gave you and how to run it did all of those
Do you have a stacktrace? Or do you have any log output from the
specific machine?
-goose
On Tue, May 1, 2012 at 1:51 PM, JA atkins.jac...@gmail.com wrote:
Hello Everyone;
I am seeing very peculiar behavior when executing sudo. When I
attempt to execute against a set of hosts, sometimes one
set up your terminal to do this for you:
$ cat ~/.zlogin
eval `keychain --eval --agents ssh --inherit any id_rsa --quiet`
-goose
On Thu, May 3, 2012 at 7:31 AM, JA atkins.jac...@gmail.com wrote:
Hi Everyone;
I would so appreciate any help with this question
How do I get Fabric to
You can use roles or hosts with callables as long as they return
lists. Being that Fabric is just python, you have all the tools and
libraries that python provides for populating this list. Some people
query databases, some use flat files with host lists, others use
things like cuisine to work off
I'm going to jump on the thread only for the fact that I'm also a Morgan.
-goose
On Fri, May 11, 2012 at 12:16 PM, Comète com...@daknet.org wrote:
Hi,
thanks to Jeff, Marcelo and Peter for the help ;)
the answer was indeed to use execute as you told me and it works !
Thanks again guys
This should help:
http://docs.fabfile.org/en/1.4.2/usage/parallel.html#linewise-vs-bytewise-output
-goose
On Tue, May 15, 2012 at 7:20 AM, David Röhr da...@rohr.se wrote:
I've tried looking at some documentation to handle the output when
running in parallel mode but can't seem to find anything
use execute for switching on the fly if the fab -P/--parallel flag
doesn't work for you:
def foo():
pass
@task
def bar():
execute(parallel(foo), hosts=host_list)
execute(foo, hosts=other_host_list)
On the second question, what are you actually asking? Also we use
multiprocessing
What are you looking for in a presentation? I'd be willing to talk
about the parallel execution in Fabric.
-goose
On Tue, Jul 3, 2012 at 12:30 PM, Seema Chetty see...@yahoo-inc.com wrote:
Dear Fab community,
My name is Seema and I am part of the team responsible for organizing the
speakers
Use ssh keys to keep from having passwords. If the usernames change
per host/ip you can do some python stuff to help out, but if it's the
same all over, say root or installer, that's simple.
defining a range is simpler too if you use a list comprehension:
env.hosts = ['192.168.0.%d % x for x in
Shit sorry, I'd answered him, I just keep forgetting gmail doesn't
reply all by default. though we're pretty much identical:
I'll link you to the order of precedence section in the docs:
http://docs.fabfile.org/en/1.4.3/usage/execution.html#order-of-precedence
Which explains more about why
25 matches
Mail list logo