Is there any way for me to change the command that fabric uses? I don't want it to run ssh I've got another application that I want it to run that works with ssh.
ex: have fabric connect via foo u...@server.com and not have fabric open ssh u...@server.com? or better yet tell fabric what one to use? Secondly, when I do something like out = run('omreport storage controller controller=0') I get a wall of text, I'd like to filter the text, what's the best way to pars it? I'm doing this currently but am getting in to trouble with list of lists. If run list_of_items = [i.split() for i in items] sizes = len(list_of_items) count = 0 while count != sizes: print list_of_items[count] count += 1 pass I get a bunch of lists, But if I run this I don't get anything printed, list_of_items = [i.split() for i in items] sizes = len(list_of_items) count = 0 while count != sizes: if any('string') in list_of_items[count]: print list_of_items[count] count += 1 pass I Don't know what I'm doing wrong, Think it's less of a Fabric issue and more of a Coding issue.
_______________________________________________ Fab-user mailing list Fab-user@nongnu.org https://lists.nongnu.org/mailman/listinfo/fab-user