Re: [Fab-user] Providing a fallback for roles at runtime

2013-12-19 Thread Michael Gliwinski
On Thursday 19 Dec 2013 08:44:15 Paul Walsh wrote: ... execute this task on db if db is in roles, otherwise, execute on default. So, to achieve that, I tried: import utilities @roles(utilities.get_role('db')) @task def drop(): utilities.alert(u'Dropping the database.')

Re: [Fab-user] Task.run() and task decorators

2013-12-17 Thread Michael Gliwinski
On Monday 16 Dec 2013 13:28:50 Rich Andrews wrote: ... We might be closer to answering question with this example. It appears both WrappedCallableTask and the Task subclass are run() for each host present in the fab role being treated, though the @runs_once decorator is present. So then a

Re: [Fab-user] Regarding the paramiko fork

2011-11-11 Thread Michael Gliwinski
they think. In the meantime, what would be your preferred means of communication (discussions, patches, bugs, etc.)? E.g. via this list or email directly, github, etc.? -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319

[Fab-user] Regarding the paramiko fork

2011-11-10 Thread Michael Gliwinski
be best to adopt it, seek another maintainer, etc. Thanks, -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319 ** The information

Re: [Fab-user] [ANN] Fabric 1.0.0 released!

2011-03-07 Thread Michael Gliwinski
On Saturday 05 Mar 2011 07:23:29 Jeff Forcier wrote: Just pushed out Fabric 1.0.0 at long last! Congratulations on the new release :) -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319

Re: [Fab-user] Fabric 1.0 imminent, last minute testing requested!

2011-02-28 Thread Michael Gliwinski
. -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319 ** The information in this email is confidential and may be legally privileged

Re: [Fab-user] Code review for changes in 1.x

2011-02-17 Thread Michael Gliwinski
Sorry for late reply, was away from my email most of the day yesterday. On Tuesday 15 Feb 2011 13:39:49 Travis Swicegood wrote: On Tue, Feb 15, 2011 at 6:47 AM, Michael Gliwinski michael.gliwin...@henderson-group.com wrote: Wouldn't shared functionality rather be something that you use

Re: [Fab-user] Code review for changes in 1.x

2011-02-15 Thread Michael Gliwinski
to reconfigure the server. -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319 ** The information in this email is confidential and may

Re: [Fab-user] Code review for changes in 1.x

2011-02-14 Thread Michael Gliwinski
or similar function. [1]: http://bazaar.launchpad.net/~bzr- pqm/bzr/bzr.dev/view/head:/bzrlib/registry.py#L74 [2]: http://code.fabfile.org/issues/show/56#note-3 -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319

Re: [Fab-user] Code review for changes in 1.x

2011-02-14 Thread Michael Gliwinski
to limit where to scan? (aka __all__ for submodules to include)? -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319

Re: [Fab-user] Re: /bin/bash not found on windows

2011-01-21 Thread Michael Gliwinski
. Or maybe try `type bash` or `which bash` to see if bash is available. I'm not sure about CopSSH but CygWin should have bash. PS. CygWin maps c:\cygwin (by default) to / so unix paths like /bin/bash are OK, in your situation maybe the shell is in different location. -- Michael Gliwinski Henderson

Re: [Fab-user] sudo() problems

2011-01-18 Thread Michael Gliwinski
customizing the location of sudo (sudo_prefix) but only in = 1.0a, I don't think there are any workarounds you can use in 0.9 apart from run('sudo ...'). -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319

Re: [Fab-user] Using SSH Config/Host aliases

2010-12-16 Thread Michael Gliwinski
you populate env.roledefs like env.roledefs[nick] = [host_str] you could then use `fab -R nick ...` on command line. -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319

Re: [Fab-user] external role definitions

2010-12-15 Thread Michael Gliwinski
permitting) to adjust the implementation, write tests, etc. -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319 ** The information

Re: [Fab-user] environ context manager

2010-12-02 Thread Michael Gliwinski
. -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319 ** The information in this email is confidential and may be legally privileged

[Fab-user] environ context manager

2010-12-01 Thread Michael Gliwinski
/usr/bin/env. Thoughts? -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319 ** The information in this email is confidential and may

Re: [Fab-user] external role definitions

2010-11-19 Thread Michael Gliwinski
): loader = functools.partial(self.source_loader, src) try: self.update(loader()) break except Exception: if not sources: raise KeyError(key) return self[key] -- Michael Gliwinski Henderson Group Information Services 9-11

[Fab-user] external role definitions

2010-11-18 Thread Michael Gliwinski
something about getting that into Fabric. Let me know sure. Thanks for the great work! Michael -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319 -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown