On 12. November 2014 at 22:10:31, Mike Andrewjeski 
(mike.andrewje...@businesswire.com) 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

_______________________________________________
Fab-user mailing list
Fab-user@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to