Re: Goups API some changes

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

 



makkalot@xxxxxxxxx wrote:
Hi again, after the idea about managing groups on Funcweb i played a little bit with groups API and have seen that we need more methods for it to be able to manage it from funcweb.

The general functionality from group API in funcweb will be like (mockup) :
Screen : http://makkalot.fedorapeople.org/group_latest.jpg

The changes i made to group API are like that :

1) As far as i understood from code when we enter into spec something that begins with @ it searches the machines into the groups conf. Therefore i assumed that format of the conf will be :
[group_name]
host = foo.com,blip.org

That patch adds some db methods that makes easier to change the group conf file : like add,remove groups, save changes on disk,remove some hosts from conf and etc 3) Also changed some of the lookup code into the Minion class , i think i fixed a bug about having duplicates about returning minions
http://github.com/makkalot/func/commit/e24c78c1b6915dc30acefb9d68c83635cb3812ba

If i misunderstood some parts of the purpose of "groups api" please correct me , comments
patches and tests look good to me. Feel free to push into the master.

Adrian

_______________________________________________
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