Hello, thanks to Seth, it's committed. I've written the documentation of the module in the func wiki. Louis 2010/12/22 seth vidal <skvidal@xxxxxxxxxxxxxxxxx>: > On Wed, 2010-12-22 at 15:11 +0100, Louis Coilliot wrote: >> OK it's done. >> >> Overlord module: >> http://func.pastebin.com/kA4Xq2ne >> >> Minion module: >> http://func.pastebin.com/dZ7SDMMZ >> >> How to use (example): >> #!/usr/bin/python >> import func.overlord.client as fc >> client_handle = fc.Client("*") >> >> remotesource='/etc/hosts' >> localfolder='/tmp/out' >> >> print client_handle.local.getfile.get(remotesource,localfolder) >> >> I made tests >> - on RHEL4 >> - on RHEL5 >> - with some minions which don't have the file >> - with some minions unreachable >> >> It seams fine. >> >> It's slow for big files, but fine for little configuration or inventory files. >> The slowness has the same cause as for copyfile: xml-rpc is not fitted >> for copying files. >> >> Could you consider testing it and adding it in the upstream git ? >> > > > Louis, > Âthat looks great. Would you be willing to post that as a patch to the > latest func tree? > > Thanks, > -sv > > > _______________________________________________ > Func-list mailing list > Func-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/func-list > _______________________________________________ Func-list mailing list Func-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/func-list