Re: Module getfile

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

 



On Thu, 2010-09-30 at 15:56 +0200, Louis Coilliot wrote:
> Hello,
> 
> I've made for my own needs a module getfile that does the opposite of copyfile.
> 
> It gets files from the minions.
> 
> It has a minion part and an overlord part, like copyfile.
> But I have not made the overlord command wrapper because I use this
> only with the python API, not from the command line.
> 
> Applied to more than one minion, it has not much sense, so there is a
> check on this.
> 
> Would you be interested to have this maintstream ?
> 

I think it could be interesting - especially if it were implemented such
that each file you copied down were stored with a prefix of the minion
it was copied from:

func '*' getfile /some/file

would grab the file and stick it cwd in:
host1-_some_file
host2-_some_file
etc etc

maybe?

-sv


_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list


[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux