fab-user
[Top][All Lists]
Advanced

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

Re: [Fab-user] Suppressing Output


From: Alexander Fortin
Subject: Re: [Fab-user] Suppressing Output
Date: Wed, 12 Nov 2014 22:22:26 +0100

On 12. November 2014 at 22:10:31, Mike Andrewjeski (address@hidden) wrote:
> Hi List,
>  
> I've read through the threads regarding suppressing hostname and am using 
> contextmanager  
> to do so along with using
> with hide('running', 'status').
>  
> What I'm attempting to accomplish is retrieve json data from puppetdb using 
> curl, and  
> *only* json. The output will be used in other tasks
> conditionally based on the content of the json.
>  
> Using the two methods mentioned above, I'm able to get json output save for 
> the end of the  
> task where fabric finishes and announces it is done:
>  
> Done.
> Disconnecting from puppet.somewhere.com... done.
>  
> Any thought on how one might suppress this output as well? I can post the 
> task I'm using,  
> if it helps..

Hi Mike, 

try to use the —hide=status(,running) parameter when running Fabric, it should 
be apply globally. 

http://docs.fabfile.org/en/1.10/usage/fab.html#cmdoption--hide 

HTH 

--  
Alexander Fortin
http://about.me/alexanderfortin



reply via email to

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