fab-user
[Top][All Lists]
Advanced

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

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


From: Michael Gliwinski
Subject: Re: [Fab-user] Task.run() and task decorators
Date: Mon, 16 Dec 2013 13:01:26 +0000
User-agent: KMail/4.7.3 (Linux/3.0.0-32-generic; KDE/4.7.4; x86_64; ; )

On Sunday 15 Dec 2013 14:55:32 Rich Andrews wrote:
...
> The desire is that a decorator such as @runs_once could then be stacked.
>  But what happens in this case is that the customtask.run() is invoked for
> each host specified in the role, and the wrapped function is what runs once.

Off top of my head, this may have something to do with the order of 
decorators.  Have you tried ordering them differently?


**********************************************************************************************
The information in this email is confidential and may be legally privileged.  
It is intended solely for the addressee and access to the email by anyone else 
is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or 
any action taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail 
are subject to the terms and conditions expressed  in the governing client 
engagement leter or contract.
If you have received this email in error please notify address@hidden

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, 
BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*********************************************************************************




reply via email to

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